You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Killing the ffmpeg process if it will not cancel within 1 second
Since the cancellation token does not stop the Stream.ReadAsync when the inputsource is offline, we manually kill the ffmpeg process after 1 second of lenience. This causes the ReadAsync method to return 0 bytes, allowing the stream to end.
0 commit comments