node-rtsp-stream
node-rtsp-stream copied to clipboard
Update videoStream.js
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.