http-streaming icon indicating copy to clipboard operation
http-streaming copied to clipboard

enableLowInitialPlaylist - only first time for loop video

Open tamir-sptl opened this issue 2 years ago • 1 comments

Description

HLS - When playing a video in loop and enabling 'enableLowInitialPlaylist' , is it possible that only the first loop iteration will use the low resolution?

Briefly describe the issue. Currently, when setting 'enableLowInitialPlaylist' to true, every time the video loops, it starts with low res and later, updates to higher res. Is it possible to enable that flag only for first iteration? will that cause additional buffering on the second iteration? if so, can that be avoided somehow by pre-fetching the high res chunks ahead of time?

Sources

Steps to reproduce

  1. create a multy-resulotion HLS video
  2. set the player option 'enableLowInitialPlaylist' to true
  3. set the player option 'loop' to true
  4. play the video

Results

video starts with low resolution on every loop iteration

Expected

video starts with low resolution on first loop iteration only

Error output

Additional Information

Please include any additional information necessary here. Including the following:

videojs version

what version of videojs does this occur with? video.js 7.18.1

Browsers

Google Chrome / Safari / Firefox *

Platforms

MacOS / Windows

Other Plugins

Other JavaScript

tamir-sptl avatar Mar 29 '22 15:03 tamir-sptl

👋 Thanks for opening your first issue here! 👋

If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. To help make it easier for us to investigate your issue, please follow the contributing guidelines.

welcome[bot] avatar Mar 29 '22 15:03 welcome[bot]