kyriesent / node-rtsp-stream

Stream any RTSP stream and output to websocket for consumption by jsmpeg (https://github.com/phoboslab/jsmpeg). HTML5 streaming video! Requires ffmpeg.
MIT License
451 stars 166 forks source link

How to detect if video is already streaming? #61

Open pixotri opened 4 years ago

pixotri commented 4 years ago

How to detect programmatically if video is already streaming? Is there any kind if flag or method which can help me know if video is streaming or there is no video signal from camera?

kyriesent commented 4 years ago

Currently there isn't one; it'd have to come straight from ffmpeg and we'd have to parse the output. I don't have bandwidth to figure it out but if there's a clear signal from ffmpeg that video signal has been dropped then we might be able to do this.

pixotri commented 4 years ago

I think it would nice and cool feature for stream from camera.

пт, 24 июл. 2020 г., 19:01 David Jsa notifications@github.com:

Currently there isn't one; it'd have to come straight from ffmpeg and we'd have to parse the output. I don't have bandwidth to figure it out but if there's a clear signal from ffmpeg that video signal has been dropped then we might be able to do this.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kyriesent/node-rtsp-stream/issues/61#issuecomment-663637043, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABFRQPW3SCAMG36PP3R23FDR5G5AFANCNFSM4NYFWUPA .