You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Playback speed changes are suddenly not working on some devices with Android 15 QPR 2.x Beta when audio offload is enabled. PlaybackParameters are reporting the requested speed but actual playback is 1.0. Playback speed changes work if audio offload is disabled. Speed changes with audio offload enabled previously worked on these devices with Android 15 prior to the QPR 2.x Betas.
Reproduces with Media3 1.5.0, 1.5.1, and 1.6.0-alpha01. I don't know if this is a Media3 issue or an Android Beta issue.
Devices that reproduce the issue
Pixel 8 with Android 15 QPR 2.0 BP11.241121.010
Pixel 8 with Android 15 QPR 2.1 BP11.2411.21.013
Pixel 9 Pro with Android 15 QPR 2.0 BP11.241121.010
Devices that do not reproduce the issue
Pixel 7 Pro with Android 15 QPR 2.1 BP11.2411.21.013
Pixel 8 Pro with Android 15 AP4A.241205.013.C1
Reproducible in the demo app?
Yes
Reproduction steps
It is reproducible on the impacted devices in the Media3 demo app IF the demo app is modified to enable audio offload. Audio offload is disabled by default.
I accomplished this by changing the default values in TrackSelectionParameters.java:
rnekicOD
changed the title
Playback speed changes not working with AUDIO_OFFLOAD_MODE_ENABLED on some devices with Android 15 QPR2 Beta 2.x
Playback speed changes not working with AUDIO_OFFLOAD_MODE_ENABLED on some devices with Android 15 QPR 2.x Beta
Jan 14, 2025
Thank you for reporting your issue! Does not appear to be an library regression. I've created an issue in our internal tracker(b/390364738 for our reference). I'll update this thread once we learn more.
Here is a link to the same issue reported in the Android 15 QPR Beta issue tracker. I wasn't aware someone had reported it there back on Jan 3rd. https://issuetracker.google.com/issues/387367533
Version
Media3 1.5.1
More version details
Playback speed changes are suddenly not working on some devices with Android 15 QPR 2.x Beta when audio offload is enabled. PlaybackParameters are reporting the requested speed but actual playback is 1.0. Playback speed changes work if audio offload is disabled. Speed changes with audio offload enabled previously worked on these devices with Android 15 prior to the QPR 2.x Betas.
Reproduces with Media3 1.5.0, 1.5.1, and 1.6.0-alpha01. I don't know if this is a Media3 issue or an Android Beta issue.
Devices that reproduce the issue
Pixel 8 with Android 15 QPR 2.0 BP11.241121.010
Pixel 8 with Android 15 QPR 2.1 BP11.2411.21.013
Pixel 9 Pro with Android 15 QPR 2.0 BP11.241121.010
Devices that do not reproduce the issue
Pixel 7 Pro with Android 15 QPR 2.1 BP11.2411.21.013
Pixel 8 Pro with Android 15 AP4A.241205.013.C1
Reproducible in the demo app?
Yes
Reproduction steps
It is reproducible on the impacted devices in the Media3 demo app IF the demo app is modified to enable audio offload. Audio offload is disabled by default.
I accomplished this by changing the default values in TrackSelectionParameters.java:
FROM:
public Builder() { this.audioOffloadMode = AUDIO_OFFLOAD_MODE_DISABLED; this.isGaplessSupportRequired = false; this.isSpeedChangeSupportRequired = false; }
TO:
public Builder() { this.audioOffloadMode = AUDIO_OFFLOAD_MODE_ENABLED; this.isGaplessSupportRequired = false; this.isSpeedChangeSupportRequired = true; }
Alternately, I can also reproduce it by setting new AudioOffloadPreferences before the speed change is applied in PlayerControlView.java.
Expected result
Playback speeds != 1.0 play as expected when audio offload is enabled on these devices.
Actual result
Audio offload is enabled and playback parameters are reporting the requested speed, but actual playback speed is 1.0.
Media
Reproduced in the demo app using the Jazz & Blues tracks: Jazz in Paris, The Messenger, Talkies.
Bug Report
adb bugreport
to [email protected] after filing this issue.The text was updated successfully, but these errors were encountered: