Closed Arestihub closed 3 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
unstale this in hope that this project isn't abandoned yet..
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
unstale
I've wired it up in the latest commit. Check it out!
Raise an event in case of ReadTimeout
Hello.
I am using FFME for RTSP streaming. If the stream is closed in a proper way by the sender there will be an event (MediaEnded or MediaClosed), which can be used to detect the need for stream retry etc.
However if the stream is forced shut by the sender or these is a network error, the only way to detect it seems to be setting ReadTimeout and then looking at the MessageLogged event, which logs an error in case of OnStreamReadInterrupt:
The mediaelement itself doesn't seem to react to the event in any way. The state of the stream is still playing, the bitrate seems to be fine, there is no buffering ended event etc.
Could OnStreamReadInterrupt event be added to MediaEvents? Is there some other way of detecting the timeout?
Issue Categories
Version Information
Steps to Reproduce
Expected Results
Sample Code
C
Media Initializing configuration: