-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Seek doesn't work properly on long videos #19
Comments
Hi, I have the similar problem too. When I seek, it doesn't jump to the correct place and there is a delay for long audio files. I guess after seek action position or duration not coming correct. Thanks. |
It may be the case that the duration is only returning the value of the already fetched part of the video |
Any ideas on how to fix this? Or maybe a workaround? |
This is still a problem on windows. |
Which API doesn't behave as documented, and how does it misbehave?
The seek() method doesn't behave as expected on Windows. Calling seek to a specific position seems to update the position data in the positionDataStream, but the actual audio continues playing from the original position.
Minimal reproduction project
The
just_audio
example.To Reproduce (i.e. user steps, not code)
Steps to reproduce the behavior:
If you seek a small amount forward (e.g. 5 mins), the seek seems to behave as expected.
Error messages
No errors displayed
Expected behavior
The audio should always match the seek position on screen.
Screenshots
The screen looks as expected, but the audio played doesn't match. E.g. screen shows 45 mins in, but you're actually in the first minute of audio.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Web:
Everything works as expected on Android and Web. The issue is only present on Windows.
Flutter SDK version
Additional context
Raised a similar issue ryanheise#971 on the
just_audio
repo, but was redirected here as it seems to be limited to windows.The text was updated successfully, but these errors were encountered: