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

buffer bar not showing buffer position #4343

Closed
MD77MD opened this issue Sep 28, 2020 · 10 comments
Closed

buffer bar not showing buffer position #4343

MD77MD opened this issue Sep 28, 2020 · 10 comments
Labels
bug Issue is related to a bug

Comments

@MD77MD
Copy link

MD77MD commented Sep 28, 2020

Version

  • 0.19.8
  • 0.20.0 RC

Steps to reproduce the bug

the buffer bar does not update buffer position unless you interact with the player such as skipping.

this is to say: even if the video is already 20s buffered ahead, the buffer bar will not show it unless you tab one of the player buttons such as skipping backwards

Expected Behavior

to show and update buffer regardless of user's interaction.

@MD77MD MD77MD added the bug Issue is related to a bug label Sep 28, 2020
@MD77MD MD77MD mentioned this issue Sep 28, 2020
@avently
Copy link
Contributor

avently commented Sep 29, 2020

What do you mean by saying buffer bar?

@opusforlife2
Copy link
Collaborator

opusforlife2 commented Sep 29, 2020

Seekbar. The buffered section only seems to update (without user interaction) when the thumb reaches the end of the currently buffered section, even though we can see that the video is already buffered beyond the current section (you can skip to a point beyond the current section and it will instantly play, not buffer).

@avently
Copy link
Contributor

avently commented Sep 29, 2020

@opusforlife2 but in my case I see how buffered positions goes beyond current time. You can clearly see it on a small video (like 2 minutes). That's why I don't understand the existence of the issue

@opusforlife2
Copy link
Collaborator

This problem doesn't exist on small videos, yeah. Try a 15 minute video or something. Basically, the buffered section will expand until it reaches the set limit (which seems to be 2 minutes), then it will stop there until the thumb reaches the end of the section. Then it will rapidly expand once again until 2 minutes ahead, and stop again.

Maybe this was done to prevent constantly updating the buffered section and slowing down the player or something. Even so, I think we could get away with updating the section after every 10 seconds or 20 seconds?

@avently
Copy link
Contributor

avently commented Sep 29, 2020

@opusforlife2

Then it will rapidly expand once again until 2 minutes ahead, and stop again.

In this place the player starts loading. So like you said it loads fixed part and then loads more and more. It shows buffered position as soon as it loads. What's a problem?

If you think the the player loads, for example, 5 minutes but shows only 2, it's not correct way of thinking

@opusforlife2
Copy link
Collaborator

For example, let's say you are at 3:00, and the buffered section is shown till 5:00. Now you reach 4:00. The buffered section still shows till 5:00, but if you tap around 5:30, it will load instantly, no buffering (because the video was actually buffered until 6:00 by then). If instead you were to tap around 6:30, the video would buffer, then play. If the buffered section was actually reflecting the buffered part of the video, you should not have been able to seek to 5:30 and get instant playback.

It's not easy to reproduce, but once you see it, you'll know for sure.

@avently
Copy link
Contributor

avently commented Sep 29, 2020

@opusforlife2 did you make this experiment with internet disabled? Like in your example, what happens if you disable internet before choosing 5:30? Will it load or not? I hardly believe in your words because in my case there are no invisibly loaded progress.

Use this video, for example. https://www.youtube.com/watch?v=p9kzzmhUZO

Loading stops at 1 minute and after that with disabled internet nothing can be viewed

@opusforlife2
Copy link
Collaborator

Wow, I just tried it. If you let it buffer, then wait for one minute, and disable internet, the video keeps playing past the visibly buffered section, but the buffered section never updates. You can tap to seek before and after the buffered section, no problem. The buffered section only updates, as MD77MD says, after you double tap to seek. Try it.

@ShareASmile
Copy link
Collaborator

Could you check if this is still reproducible in 0.27.4?

@ShareASmile ShareASmile added the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Dec 10, 2024
@MD77MD
Copy link
Author

MD77MD commented Dec 16, 2024

Could you check if this is still reproducible in 0.27.4?

its been fixed... closing

@MD77MD MD77MD closed this as completed Dec 16, 2024
@github-actions github-actions bot removed the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug
Projects
None yet
Development

No branches or pull requests

4 participants