Send video and data over a websocket
Posted: Sat Jan 21, 2023 9:41 pm
I want to send a video stream and a float variable over a websocket, the float needs to be updated at about 10hz, the video fast enough to be smoothish.
I got the video stream to work ok, and the float variable update to work seperately, now I'm wondering how to get both.
I tried 2 websockets on different ports but that doesnt work, I'm resisting messing with the cam data blob, but I'm thinking thats what I need to do.
I got the video stream to work ok, and the float variable update to work seperately, now I'm wondering how to get both.
I tried 2 websockets on different ports but that doesnt work, I'm resisting messing with the cam data blob, but I'm thinking thats what I need to do.