Open sarimmehdi opened 1 year ago
ExoPlayer's RTSP support does not currently support LoadErrorHandlingPolicy
:
Any movement on this? Right now the RTSP logic makes the player say that it's still playing after it gets disconnected, which makes it basically impossible to manually implement error handling. Error handling is essential for any non-trivial app.
Media3 Version
Media3 1.0.2
Devices that reproduce the issue
Custom Android device which is used to control a drone
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Yes
Reproduction steps
I am using the following code to stream RTSP video from a webcam to our custom Android device:
The live stream works when the camera is connected. If I disconnect the camera, the live stream stops as it should. However, when I reconnect the camera, the live stream doesn't resume even though I have declared a custom policy using the variable
onLiveStreamEndedListener
and set it for theexoplayer
using theMediaSourceFactory
.Expected result
Livestream video should resume after the camera is reconnected
Actual result
Livestream video does not resume even after the camera is reconnected
Media
It is livestream from a custom camera.
Bug Report
adb bugreport
to dev.exoplayer@gmail.com after filing this issue.