Skip to content

Determine whether seeking or repeating #3252

@AOrobator

Description

@AOrobator

Does Exoplayer have any plans to distinguish between seeking to the beginning of a period and repeating once? Using the repeat modes and a DynamicConcatenatingMediaSource, if I check that player.getCurrentPosition() == 0 in onPositionDiscontinuity(), I'm not able to tell whether the song has just repeated or the user has seeked to the beginning of the song. Some sort of callback in Player.EventListener would be great.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions