I created a websocket via server and client by using ws
When the connection create ffmpeg start to convert my stream, but when the client interrupted, the ffmpeg is still converting.
So, how to stop ffmpeg, if the server already know the client is down?
[ ✅ ] I tried the same with command line ffmpeg and it works correctly (hint: if the problem also happens this way, this is an ffmpeg problem and you're not reporting it to the right place)
[✅ ] I have included full stderr/stdout output from ffmpeg
Version information
Want
I created a websocket via server and client by using ws When the connection create ffmpeg start to convert my stream, but when the client interrupted, the ffmpeg is still converting. So, how to stop ffmpeg, if the server already know the client is down?
Code to reproduce
my convert module
rtspToFlvHandle
in nodejsmy appjs
(note: if the problem only happens with some inputs, include a link to such an input file)
Checklist