Skip to content
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

[Feature]: Support for EXT-X-DATERANGE metadata #4283

Open
pravind-hinge opened this issue Nov 10, 2024 · 2 comments
Open

[Feature]: Support for EXT-X-DATERANGE metadata #4283

pravind-hinge opened this issue Nov 10, 2024 · 2 comments
Labels

Comments

@pravind-hinge
Copy link

pravind-hinge commented Nov 10, 2024

Description

Currently I'm trying to us a an hls playlist to stick 2 separate videos together like so

#EXT-X-VERSION:6

#EXT-X-TARGETDURATION:25
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-INDEPENDENT-SEGMENTS

#EXT-X-DATERANGE:ID="intro",START-DATE="2023-01-01T00:00:00Z",DURATION=60.166666
#EXTINF:12.5,
/videos/project1/intro/1080p/video_000.ts
#EXTINF:8.333333,
/videos/project1/intro/1080p/video_001.ts
...

#EXT-X-DISCONTINUITY

#EXT-X-DATERANGE:ID="outro",START-DATE="2023-01-01T00:01:00.166666Z",DURATION=90.083334
#EXTINF:12.5125,
/videos/project1/outro/1080p/video_000.ts
...

#EXT-X-ENDLIST

I want to be able to get the exact time when the video switches from intro to outro. Using onProgress event is not very consistent. So was planning to use EXT-X-DATERANGE.
However I'm not able to get the video player to trigger onTimedMetadata
As I'm using hls format embedding ID3 tags to *.ts is not working.
An alternative approach with a priority event to sync UI should also be fine

Why it is needed ?

To properly sync transitions UI with video progress dynamically and not rely on a video editor

Possible implementation

No response

Code sample

No response

Copy link

Thank you for your feature request. We will review it and get back to you if we need more information.

1 similar comment
Copy link

Thank you for your feature request. We will review it and get back to you if we need more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant