HLS starts at 10s
See original GitHub issueHave you read the FAQ and checked for duplicate open issues? Yes
What version of Shaka Player are you using?
- Shaka: 2.4.6, 2.4.5, and 2.3.3.
- Our custom app combines Shaka v2.3.3 + mux.js v5.0.1. We are trying to update to Shaka >= v2.4.6 + mux.js v5.0.1.
Can you reproduce the issue with our latest release version? Yes
Can you reproduce the issue with the latest code from master?
No, I honestly have not tried.
Are you using the demo app or your own custom app? Demo and custom app.
If custom app, can you reproduce the issue using our demo app? Yes
What browser and OS are you using? Chrome 72, macOS 10.14.1
For embedded devices (smart TVs, etc.), what model and firmware version are you using? n/a
What are the manifest and license server URIs?
- https://provider-media.plex.tv/22fedd71260e2e27c7025a751f800d97/video.m3u8
- Manifest and segments can be downloaded separately for local testing
What did you do?
- Load the 2.4.6 demo directly to the manifest above
Maximum small gap size:should be default 0.5Jump large gapsis unchecked
What did you expect to happen?
Playback should begin at 0s. In our app, v2.3.3 + mux.js v5.0.1 play the stream from start time 0 without manifest.defaultPresentationDelay nor manifest.hls.defaultTimeOffset values. I believe there is a behavior change between 2.3.3 and 2.4.5 that I haven’t been able to identify.
What actually happened?
- Stream jumps forwards to ~10s.
- Log displays
Jumping forward 0.1154080000000004 seconds because of gap starting at 11.862333 and ending at 11.947666
Our upgrade to 2.4.5 and 2.4.6 both demonstrate that stream playback now starts at ~10s. The delay smells like a pre-roll presentation delay of some sort. It did not occur in 2.3.3.
These issues describe a 10s skip at start: #1625, #1011. The combined configuration workaround (shown below) doesn’t change behavior.
this._shaka.configure({
manifest: {
// #1625
defaultPresentationDelay: 0,
hls: {
// #1011
defaultTimeOffset: 0
}
},
streaming: {
bufferingGoal: this.props.bufferingGoal,
jumpLargeGaps: true,
retryParameters: {
maxAttempts: Infinity
}
},
abr: {
defaultBandwidthEstimate: this.props.defaultBandwidthEstimate
}
});

Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (6 by maintainers)

Top Related StackOverflow Question
Fix released in v2.4.7.
Hi, @mseeley. I’m working on it today. We’re a bit behind on everything, which is hard to tell since I haven’t published a timeline or roadmap yet. That’s coming soon, too, though.