Stream any RTSP stream and output to websocket for consumption by jsmpeg (https://github.com/phoboslab/jsmpeg). HTML5 streaming video! Requires ffmpeg.
Using this we can track how many clients are connected to particular stream and it will also provide an option to stop the stream if there is no viewer.
I was having similar requirement, so i added this change, hopefully this will be helpful for others too.
Add clientCount emitter for stream
Using this we can track how many clients are connected to particular stream and it will also provide an option to stop the stream if there is no viewer.
I was having similar requirement, so i added this change, hopefully this will be helpful for others too.