androidx / androidx/media

Midroll playback issue with the first AD Unit (Exoplayer) - first ad unit is skipped

Open
#1,202 2 comments 0 reactions 1 assignee View on GitHub

@marcbaechinger is already working on this.

Since Mar 20, 2024.

bug needs triage
Dominant language
Java
Stars
3k
Forks
955
Avg merge
12d 14h
Merged PRs (30d)
2

Description

Version

Media3 1.1.1 / ExoPlayer 2.19.1

More version details

No response

Devices that reproduce the issue

Mobile phones with Android O.S

Devices that do not reproduce the issue

None

Reproducible in the demo app?

Not tested

Reproduction steps
  1. Launch an Irish VPN (to have access to our Google campaigns which are targeted only to Ireland country);
  2. Install and launch the attached sample app (Basic sample app with Media3 integration (v.1.1.1) and IMA SDK integration) (sample app also available here: https://finconsspa-my.sharepoint.com/personal/mauro_defeo_finconsgroup_com/_layouts/15/onedrive.aspx?id=%2Fpersonal%2Fmauro%5Fdefeo%5Ffinconsgroup%5Fcom%2FDocuments%2FFreeStream%2BIrishAdv%2Ezip&parent=%2Fpersonal%2Fmauro%5Fdefeo%5Ffinconsgroup%5Fcom%2FDocuments&ga=1)
  3. Play the media content configured in the sample app (DRM free content)
  4. Seek to minute 27:30
  5. Wait for minute 28:00 where the mid-roll slot should begin
Expected result

At minute 28 mid-roll slot should begin and play successfully

Actual result

Mid-roll slot begins at minute 28:08 as the first ad unit has been skipped and ADV playback starts from the second ad unit.

Media

Media content: https://www.emmanuelevilla.com/2048895036-50037512-c42f26a3-505c-4131-951f-8700b36d881d.mp4

VMAP tag: https://pubads.g.doubleclick.net/gampad/ads?correlator=6289&iu=%2F3014%2FRTE_Player_VOD%2FAndroid_Phone%2FNotRegistered&env=vp&gdfp_req=1&sz=640x360&description_url=https://www.rte.ie/player&tfcd=0&npa=0&vpmute=0&vpa=0&vad_format=linear&url=&output=vmap&unviewed_position_start=1&cmsid=2506236&vid=AQ000269472&cust_params=brn%3DAQ000269472%26title%3DYellowstone+S01+E1%26genre%3D%5BDrama%5D

Sample app: https://finconsspa-my.sharepoint.com/personal/mauro_defeo_finconsgroup_com/_layouts/15/onedrive.aspx?id=%2Fpersonal%2Fmauro%5Fdefeo%5Ffinconsgroup%5Fcom%2FDocuments%2FFreeStream%2BIrishAdv%2Ezip&parent=%2Fpersonal%2Fmauro%5Fdefeo%5Ffinconsgroup%5Fcom%2FDocuments&ga=1

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.