-
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
AudioTrackPositionTracker returns negative timestamps after reset #7456
Labels
Comments
ojw28
added a commit
that referenced
this issue
Jun 2, 2020
Issue: #7456 PiperOrigin-RevId: 314408767
Should be fixed by the commit ref'd above. |
ojw28
added a commit
that referenced
this issue
Jun 3, 2020
Issue: #7456 PiperOrigin-RevId: 314408767
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
[REQUIRED] Issue description
AudioTrackPositionTracker
sometimes returns a negative timestamps immediately after a reset (e.g. at the start of playback, or after a seek). This causes therendererPositionUs
inExoPlayerImplInternal
to be negative, which in turn violates other assumptions the player and the renderers make about the position. This issue was originally reported in #7449. The PR proposed a workaround for this problem for the total buffered duration specifically, but it should ideally be fixed closer to the root cause.[REQUIRED] Reproduction steps
Play "Apple TS media playlist" in the demo app and add logging similar to this one. The issue doesn't happen after all resets, but only occasionally.
[REQUIRED] Link to test content
"Apple TS media playlist" in the demo app
[REQUIRED] A full bug report captured from the device
Not relevant.
[REQUIRED] Version of ExoPlayer being used
dev-v2
[REQUIRED] Device(s) and version(s) of Android being used
Pixel 4, Android 11. Probably unrelated.
The text was updated successfully, but these errors were encountered: