-
Notifications
You must be signed in to change notification settings - Fork 582
Description
Version
Media3 1.3.0
More version details
No response
Devices that reproduce the issue
Samsung S21+ with Android 14
Devices that do not reproduce the issue
None
Reproducible in the demo app?
Yes
Reproduction steps
Play attached media
Wait for the first period to finish
Watch the second period not honor the offset value (effectively restart playback from the beginning of the content)
Expected result
Media plays correctly - the first period and the second, honoring the offset correctly
Actual result
Playback starts, plays the first period, and then plays the second one, without honoring the presentationTimeOffset.
Media
We actively worked with the Exoplayer team here: google/ExoPlayer#11000 to fix discontinuities with AC-4 streams. We just adopted the fix, but it looks to have broken applying the presentationTimeOffset correctly for both xHE-AAC and AC-4 audio streams. For some reason, it looks to be working with AAC-LC (which doesn't have I-Frames).
Based on our debugging, the commit the Exoplayer team made for our above issue is what caused this. Can you please look into what's going on, and please apply the correct fix?
We're not sure if you still have our AC-4 stream from the past, but you can still use that. We will also email you links to three clear streams - an AAC one (where presentationTimeOffset is being honored) and xHE-AAC and AC-4 where they are not anymore.
Bug Report
- You will email the zip file produced by
adb bugreport
to android-media-github@google.com after filing this issue.