Player.Listener onIsPlayingChanged method not called after the preroll ad on Android 14
Open
@marcbaechinger is already working on this.
Since Jun 7, 2024.
bug
needs triage
- Dominant language
- Java
- Stars
- 3k
- Forks
- 955
- Avg merge
- 12d 14h
- Merged PRs (30d)
- 2
Description
Version
Media3 main branch
More version details
Version 1.3.1 of the media library
Devices that reproduce the issue
Pixel 8 Pro running Android 14
Pixel 8 emulator running Android 14
Samsung Galaxy Z Fold 4 running Android 14
Devices that do not reproduce the issue
Samsung S20 FE running Android 13
Reproducible in the demo app?
Yes
Reproduction steps
- In the
DebugTextViewHelperin theUpdaterclass override theonIsPlayingChangedcallback and log a simple message - Run the Demo app and use VMAP pre-roll example form IMA sample ad tags
- Wait until the ad completes and content starts and check the logs
Expected result
On devices with Android 14, the onIsPlayingChanged method should be called when switching between ad and content as it works on devices with Android 13
Actual result
On devices with Android 14, the onIsPlayingChanged method is not called
Media
Example from the demo app: IMA sample ad tags > VMAP pre-roll
Bug Report
- You will email the zip file produced by
adb bugreportto android-media-github@google.com after filing this issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.