androidx / androidx/media

How to play DAI ad in a player different from one used for live content

Open
#1,855 1 comment 0 reactions 1 assignee View on GitHub

@marcbaechinger is already working on this.

Since Nov 4, 2024.

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

Description

We want to support Google DAI ads in our project but we have a requirement to play the Advertisement media in a player different from the one used to play the content.

Specifically, we want to pause the content player when we reach the SCTE35 marker, switch to the Ad player and initialise it with the Ad URL. Once the Ad playback completes, we want to switch back to the content player.

Please let us know if this is possible with the current Google DAI SDK.

Thanks in advance.

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.