androidx / androidx/media

Player.Listener onIsPlayingChanged method not called after the preroll ad on Android 14

Open
#1,432 0 comments 3 reactions 1 assignee View on GitHub

@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
  1. In the DebugTextViewHelper in the Updater class override the onIsPlayingChanged callback and log a simple message
  2. Run the Demo app and use VMAP pre-roll example form IMA sample ad tags
  3. 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 bugreport to android-media-github@google.com after filing this issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.