Steps to Reproduce.
- Play any video with preroll.
- 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.