Skip to content

Weird behaviour when seek operation is performed while playing preroll ad. #8349

@sravan1213

Description

@sravan1213

Steps to Reproduce.

  1. Play any video with preroll.
  2. Seek when player is in ready state. Please add following code in PlayerListener of demo app
 @Override
    public void onPlaybackStateChanged(@Player.State int playbackState) {
      if (playbackState == Player.STATE_READY) {
        player.seekTo(20_000);
      }
}

Observe player goes into weird state. Ad gets skipped and play randomly along with content.

100% reproducible on latest version of exo-player.

I understand exoplayer doesn't support seek during ads, but there is already a warning for this. performing this operation should not cause this issue.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions