Closed brodiddev closed 5 months ago
I am using the live stream below. After meeting the 4-second buffer, playback is starting at a point where the remaining buffer is 3 seconds. But it always starts playing from the 6th video chunk. This appears to play the last 6th video chunk of the last downloaded playlist.
Is it possible to play directly from the 3rd video chunk?
The default for HLS is follow the guidance in the HLS spec, and to join live streams 3 segments back from the live edge.
You can configure this threshold with something like
// Segments from the live edge, specific to HLS:
player.configure('manifest.hls.liveSegmentsDelay', 6 /* segments */);
or
// Seconds from the live edge, generic, defaults to 0 meaning a different behavior
// for DASH & HLS.
player.configure('manifest.defaultPresentationDelay, 6 /* seconds */);
// The DASH default is to use MPD's suggestedPresentationDelay,
// falling back to 1.5 * minBufferTime if missing.
// The HLS default is to use segment delay, defaulting to 3 above.
See also:
thanks
Have you read the Tutorials? yes
Have you read the FAQ and checked for duplicate open issues? yes
If the question is related to FairPlay, have you read the tutorial?
What version of Shaka Player are you using? 4.9.11
What browser and OS are you using? Window Chrome
Please ask your question I am using the live stream below. After meeting the 4-second buffer, playback is starting at a point where the remaining buffer is 3 seconds. But it always starts playing from the 6th video chunk. This appears to play the last 6th video chunk of the last downloaded playlist.
Is it possible to play directly from the 3rd video chunk?