Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VideoPlayerController loses state when current hls segment has not downloaded yet #16

Open
aramisromero89 opened this issue Sep 4, 2021 · 8 comments

Comments

@aramisromero89
Copy link

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"

@aramisromero89 aramisromero89 changed the title VideoPlayerController looses state sometimes VideoPlayerController loses state sometimes Sep 4, 2021
@balvinderz
Copy link
Owner

try opening a issue here @aramisromero89 https://github.com/flutter/flutter

@aramisromero89
Copy link
Author

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

@balvinderz
Copy link
Owner

Can you share a video on how to reproduce this issue

@aramisromero89
Copy link
Author

aramisromero89 commented Sep 4, 2021

Here is the video

test.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.

@aramisromero89 aramisromero89 changed the title VideoPlayerController loses state sometimes VideoPlayerController loses state when current hls segment has not downloaded yet Sep 8, 2021
@aramisromero89
Copy link
Author

Is there any workaround for this issue, also chewie controller shows a warning icon after the player loses its state

@bgparkerdev
Copy link

bgparkerdev commented Dec 2, 2021

Noticing this issue as well for our web application. Pretty much only happens with slow connections.

@balvinderz
Copy link
Owner

Did you guys find any solution for this?

@sandeshgyw
Copy link

Any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants