videojs-resolution-switcher icon indicating copy to clipboard operation
videojs-resolution-switcher copied to clipboard

In hls playback, manually changing resolution should flush previous resolution buffer

Open guialbuk opened this issue 9 years ago • 3 comments

Test case:

1- Playback a HLS playlist with videojs-resolution-switcher (hls-branch) loaded. 2- The player will start to load segments ahead of the current time, creating a buffer. 3- Change the resolution manually. 4- The new resolution will be played only after the buffer of the previous resolution.

This is a issue specially if the previous resolution has a low bitrate, so the buffer will be long and the new resolution will take too long to change. The user may think that the resolution switcher is not working.

So I think that when the resolution is changed manually, the buffer must be flushed.

Any thoughts?

guialbuk avatar Apr 18 '16 21:04 guialbuk

confirming As a result on short videos with low quality switching the resolution has no effect at all.

mkhazov avatar Jun 27 '16 11:06 mkhazov

@guialbuk @mkhazov do you know of any manual way to flush the current buffer or to request new after the change?

AdamTyler avatar Sep 02 '16 18:09 AdamTyler

Hey Guys ! Any resolution for this situation ? 😄

rohankvats avatar Aug 28 '17 14:08 rohankvats