androidx / media

Jetpack Media3 support libraries for media use cases, including ExoPlayer, an extensible media player for Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

rafalzych opened this issue · comments

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