-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Support EXT-X-DATERANGE #2218
Comments
Will do |
I removed the milestone for this as I think we can get it into a minor release or v1.0.0. There isn't much of a difference. Sample streams are welcome! It would be helpful to know if anyone has seen this metadata surface as DataCues in metadata TextTracks in Safari (as ID3 does). I heard that was introduced in a recent release but still haven't seen it myself. The goal for this work would be to surface EXT-X-DATERANGE the same way Safari does. You can get at this information now in hls.js via |
Based on your last comment are you recommending: getting the tag from the fragment, checking the start-time, and then triggering the event based on EXT-X-PROGRAM-DATE-TIME + video duration? It would be super helpful to have this as a timed metadata event. |
Yes (almost). Video duration is not part of the calculation. In v1.0, each fragment has a
This is what is required currently to generate your own metadata cues or events. The comment above, and these details shared here are tips for implementing your own events or working with PDT. You could also use this information to develop this feature in hls.js, use it in your own fork, and upstream it for a future release. This change would go well in the next minor which includes other timed metadata features like emsg extraction.
The goal of this issue is to expose EXT-X-DATERANGE in a "metadata" |
Hi, I am dealing with a similar problem. Are there any sample streams and sample code to test video.textTrack[] with both hls.js and native Safari video element? I am trying to get cue events firing on native Safari video elements, but failing miserably. Thanks, |
Resolves #2218 Other changes: - Remove cues on buffer flush based on track type associated with metadata schema (video: emsg, audio: org.id3) - Handle Delta Playlist Update Date Range updates - Parse and validate DateRange tags - Add hls.playingDate to API: gets program date time at media playhead (video.currentTime) - Fix code formatting with prettier
Resolves #2218 Other changes: - Remove cues on buffer flush based on track type associated with metadata schema (video: emsg, audio: org.id3) - Handle Delta Playlist Update Date Range updates - Parse and validate DateRange tags - Add hls.playingDate to API: gets program date time at media playhead (video.currentTime) - Fix code formatting with prettier
In WWDC2016[1] Apple announced In-Playlist Timed Metadata as an alternative to ID3 Timed Metadata. As far as I understood, the main idea is to use the m3u8 tag EXT-X-DATERANGE to describe the timed metadata in plain text on the playlist file, outside the video stream.
I think it would be great to have this feature implemented in the hls.js library, because that way it will no longer be necessary to use the Apple-only
mediafilesegmenter
tool to inject timed ID3 into video streams.[1] https://developer.apple.com/videos/play/wwdc2016/504/
The text was updated successfully, but these errors were encountered: