androidx / androidx/media

Jump over AdBreak when fast-forwarding programatically

Open
#521 3 comments 0 reactions 1 assignee View on GitHub

@marcbaechinger is already working on this.

Since Jul 14, 2023.

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

Description

I encountered a situation where the user presses the fast-forward/rewind button on their AndroidTV remote. Here we are doing ff/rw programmatically. In this scenario, we want to jump over the AdBreak (similar to scrubbing on a mobile device's seek bar) and play the adBreak just before the user stops and starts playing (which is the default behavior).

However, I am currently observing that when I seek programmatically for fast-forward, the player starts playing ads as soon as we hit the ad break. Is there any native support available to achieve the desired behavior? Is there a native SDK support available to achieve the desired behavior?

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.