Skip to content

Open media and get its duration without starting playback? #386

@Gieted

Description

@Gieted

If you do

player.open(Media.network(newSource), autoStart: false);

Then player.positionStream will not give you the duration of media, until it's unpaused for the first time. How to load media and gets its duration, but keep it in paused state?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions