Skip to content

Seeking to end position when paused causes transition to next period #2439

@PaulWoitaschek

Description

@PaulWoitaschek

ExoPlayer 2.2.0
Nexus 5x
Android 7.1.1

I use a ConcatenatingMediaSource. When I call seekTo with the current windowIndex and the duration of the file as positionMs in state STATE_PAUSED and playWhenReady=false I receive two events: onPositionDisconunitywith that frame and onPositionDisconitywith 0 but with the windowIndex increased.

This is problematic as when a user seeks with the seekbar he does not want to go to the next track when the player is paused.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions