unosquare / ffmediaelement

FFME: The Advanced WPF MediaElement (based on FFmpeg)
https://unosquare.github.io/ffmediaelement/
Other
1.17k stars 240 forks source link

Enable Pause for live streams. #668

Open Prime8bit opened 1 month ago

Prime8bit commented 1 month ago

Live Streams cannot be paused.

When playing an RTSP live stream, I am unable to pause or stop. I noticed that the code deliberately prevents this. For stop this makes sense because if a stream does not allow seeking, then your stop code, which seeks to the beginning, will not work as expected. You could try simply skipping the seek for live streams, but then it is similar to Pause in its results. Pause being disabled confuses me. FFPlay is able to pause this stream. I would have expected this library to do the same. For the stream I am using a local IP camera which I am unwilling to share for obvious reasons. I am able to remove the code that disables pausing for live streams and it pauses without issue.

Issue Categories

Version Information