dart_vlc
dart_vlc copied to clipboard
Open media and get its duration without starting playback?
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?