video_player_web_hls
video_player_web_hls copied to clipboard
VideoPlayerController loses state when current hls segment has not downloaded yet
Sometimes, especially on slow connections(manipulated from network panel on developer tools), the VideoPlayerController loses its state, the video plays, but its state cannot be controlled. If I use VideoProgressIndicator it falls into busy mode and if I try to pause and play the video then it starts from beginning. If I use Chewie it shows a white warning icon. The console output shows ''No further diagnostic information can be determined or provided"
try opening a issue here @aramisromero89 https://github.com/flutter/flutter
try opening a issue here @aramisromero89 https://github.com/flutter/flutter
But I think it is related to the plugin implementation with hls.js, maybe it is not setting the controller state correctly after some events
Can you share a video on how to reproduce this issue
Here is the video
https://user-images.githubusercontent.com/63468980/132098143-db93a9a9-f37e-41b2-a1c9-4748a0a5ae9d.mp4
This happens even with the simplest video_player example. The error occurs when the position arrives to a fragment that is not yet downloaded.
Is there any workaround for this issue, also chewie controller shows a warning icon after the player loses its state
Noticing this issue as well for our web application. Pretty much only happens with slow connections.
Did you guys find any solution for this?
Any updates on this?