-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add support for EXT-X-GAP #1308
Comments
Hi, thanks for the request. Let's summon The Shaka Mastermind and hear his verdict :) In the meantime, could you please describe the use case for EXT-X-GAP in more detail. Do you have it in LIVE streams or VOD? When and why does this happen? |
Sounds reasonable. Thanks! |
You can find more info in: The use case of EXT-X-GAP in our case is skip some segment if the enconder is not enough powerful (in Live and Event playlist) |
@joeyparrish @michellezhuogg |
@joeyparrish what is the status of EXT-X-GAP support in Shaka? How does Shaka deal with mismatched discontinuities from audio/video tracks signaled by EXT-X-DISCONTINUITY otherwise? |
Hello @ningl2 , It's not implemented in Shaka Player yet. We welcome contributions from the community! Thank you! |
@ningl2 Do you mean that an |
Sorry I wasn't clear. Sometimes a contribution feed may be missing parts of audio or video at different times in the stream. HLS spec requires that all EXT-X-DISCONTINUITY tags are aligned across all renditions and variants. This means that we are forced to drop audio/video if the other track is missing data. The fix for this, the suggestion from Apple is to use EXT-X-GAP in this situation, but looks like there's no good support for this tag in Shaka (or other players for that matter). |
Any progress with this? |
Not that I'm aware of. None from the core team, and I haven't seen any PRs from the community, either. We're short-staffed right now (one full-time engineer, two part-time), so I don't foresee the core team getting to this soon. We apologize for the inconvenience. In the meantime, PRs are always welcome. Thanks! |
Understood, thanks for the prompt response. Is there any way you could estimate how long would the implementation take? (considering a core member that is familiar with the project). We might consider contributing, it'd be useful tho to have a rough idea about time requirements. Cheers! |
It seems that Chromium is working on having a native HLS on the platform(https://bugs.chromium.org/p/chromium/issues/detail?id=1266991), and will also support this functionality (https://chromium-review.googlesource.com/c/chromium/src/+/3382254). |
Parse EXT-X-GAP HLS tag and add a status enum to shaka.media.SegmentReference. shaka.media.SegmentReference.Status.AVAILABLE --> Normal behaviour shaka.media.SegmentReference.Status. UNAVAILABLE --> Related to #2541 shaka.media.SegmentReference.Status. MISSING --> EXT-X-GAP in HLS Note: only the parsing is added, but the functionality is not yet implemented. Issue #1308
Is it possible add support to EXT-X-GAP?
https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis#section-4.4.4.7
The EXT-X-GAP tag indicates that the segment URL to which it applies does not contain media data and SHOULD NOT be loaded by clients. It applies only to the next Media Segment.
The text was updated successfully, but these errors were encountered: