-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
HLS failure with PRELOAD-HINT and low-latency mode disabled #4185
Comments
@theodab you are the HLS expert, can you take a look at it? |
From what I can tell in the debugger, it's not RENDITION-REPORT that triggers the issue, but PRELOAD-HINT. The RENDITION-REPORT is attached to the last segment, which is generated from PRELOAD-HINT. I think without RENDITION-REPORT, the results would be the same. This is what the HLS parser is doing when it throws that error: if (this.lowLatencyMode_ && hlsSegment.partialSegments.length) {
// ...
} else {
// EXTINF tag must be available if the segment has no partial segments.
if (!extinfTag) {
throw new shaka.util.Error(
shaka.util.Error.Severity.CRITICAL,
shaka.util.Error.Category.MANIFEST,
shaka.util.Error.Code.HLS_REQUIRED_TAG_MISSING, 'EXTINF');
}
} Here |
Confirmed. Enabling low-latency mode makes the content play without modifying the source: |
I have what I think is a good fix (somewhat more detailed than my comments above), but I got distracted by other duties and haven't quite finished the PR. I still need to write a regression test, verify that it fails, then verify that the fix fixes it. Hopefully I'll finish that later tonight or more likely tomorrow (Wednesday America/Pacific time). |
When LL mode was off, the HLS parser would throw on X-PRELOAD-HINT segments. The logic for requiring EXTINF has been corrected so that this will not happen. Closes shaka-project#4185
When LL mode was off, the HLS parser would throw on X-PRELOAD-HINT segments. The logic for requiring EXTINF has been corrected so that this will not happen. Closes #4185
When LL mode was off, the HLS parser would throw on X-PRELOAD-HINT segments. The logic for requiring EXTINF has been corrected so that this will not happen. Closes #4185
When LL mode was off, the HLS parser would throw on X-PRELOAD-HINT segments. The logic for requiring EXTINF has been corrected so that this will not happen. Closes #4185
When LL mode was off, the HLS parser would throw on X-PRELOAD-HINT segments. The logic for requiring EXTINF has been corrected so that this will not happen. Closes #4185
Have you read the FAQ and checked for duplicate open issues? YEs
What version of Shaka Player are you using? 4.0.0
Can you reproduce the issue with our latest release version? Yes
Can you reproduce the issue with the latest code from
main
? YesAre you using the demo app or your own custom app? Demo
If custom app, can you reproduce the issue using our demo app? Yes
What browser and OS are you using?
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.41 Safari/537.36'
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
What are the manifest and license server URIs?
https://pf5.broadpeak-vcdn.com/bpk-tv/tvrll/llcmaf/index.m3u8
What configuration are you using? What is the output of
player.getConfiguration()
?Default
What did you do?
Load https://shaka-player-demo.appspot.com/demo/#audiolang=es-ES;textlang=es-ES;uilang=es-ES;asset=https://pf5.broadpeak-vcdn.com/bpk-tv/tvrll/llcmaf/index.m3u8;panel=CUSTOM%20CONTENT;build=uncompiled
What did you expect to happen?
The stream works
What actually happened?
The text was updated successfully, but these errors were encountered: