Stream any RTSP stream and output to websocket for consumption by jsmpeg (https://github.com/phoboslab/jsmpeg). HTML5 streaming video! Requires ffmpeg.
Is there a way for a client (I'm currently a JsmpegPlayer in react) to dynamically start and stop the server? Essentially I only want the node.js server to run when a client tries to play it, if nobody is trying to play it I want it to turn off. It looks like out of the box there's some handling to kill the stream and it can handle a loss of connection the actual RTSP server, but I was wondering if the websocket on the other side can kill/start the node server depending on some action.
Is there a way for a client (I'm currently a JsmpegPlayer in react) to dynamically start and stop the server? Essentially I only want the node.js server to run when a client tries to play it, if nobody is trying to play it I want it to turn off. It looks like out of the box there's some handling to kill the stream and it can handle a loss of connection the actual RTSP server, but I was wondering if the websocket on the other side can kill/start the node server depending on some action.