-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tolerance for rtsp track timing #9775
Labels
Comments
We have received a few similar issues now. Will include an option to ignore the timing info. |
Thanks a lot! |
The same. I am waiting this update too. How soon you plan to fix it in new release? |
icbaker
pushed a commit
to androidx/media
that referenced
this issue
Jan 26, 2022
Issue: google/ExoPlayer#9775 We got a few issues for this on GH already. Some RTSP servers do not provide track timing in PLAY responses, or the timings are invalid. Missing timing means the RTSP stream is not seekable. Added method to 1. Update the timeline that seek is not possible 2. Report read discontinuity so that playback can start from the beginning. PiperOrigin-RevId: 423281439
icbaker
pushed a commit
that referenced
this issue
Jan 26, 2022
Issue: #9775 We got a few issues for this on GH already. Some RTSP servers do not provide track timing in PLAY responses, or the timings are invalid. Missing timing means the RTSP stream is not seekable. Added method to 1. Update the timeline that seek is not possible 2. Report read discontinuity so that playback can start from the beginning. PiperOrigin-RevId: 423281439
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
[REQUIRED] Use case description
In my app, when developing disconnected from the cameras vpn, I find it handy to steal some frames from public rtsp streams, and this one is my favourite one:
rtsp://31.0.225.93/cam/realmonitor?channel=3&subtype=00&authbasic=YWRtaW46MTIzOTg3
but EXOPlayer doesn't show frames from this public camera because of the following error:
Server did not provide timing for track ...
Proposed solution
I understand that the protocol from that camera may be not fully compliant to rtsp standards, but I found that commenting lines 516-519 in RtspMediaPeriod.java make the camera perfectly visible.
Alternatives considered
Add an EXOPlayer settings option to make the control optional
The text was updated successfully, but these errors were encountered: