Relative Content

Tag Archive for videowebsocketroslive-streaming

How can I create a live video stream in a SvelteKit app using a websocket as a source

I am working on a web based robotics control panel with one of the desired features being the ability to stream video data from an onboard camera. The problem that I have found is that the data I receive from the rosbridge node for the camera are JPEG’s in string form over a websocket and I’m having trouble finding a good way of converting this data into a video.
The current solution that I have tested to make sure that the camera is working it to update the src property of a <img /> tag with the string.

How can I create a live video stream in a SvelteKit app using a websocket as a source

I am working on a web based robotics control panel with one of the desired features being the ability to stream video data from an onboard camera. The problem that I have found is that the data I receive from the rosbridge node for the camera are JPEG’s in string form over a websocket and I’m having trouble finding a good way of converting this data into a video.
The current solution that I have tested to make sure that the camera is working it to update the src property of a <img /> tag with the string.