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

Parse EXT-X-CUE-OUT and EXT-X-CUE-IN #1

Merged
merged 2 commits into from
Mar 9, 2020
Merged

Parse EXT-X-CUE-OUT and EXT-X-CUE-IN #1

merged 2 commits into from
Mar 9, 2020

Conversation

birme
Copy link

@birme birme commented Mar 6, 2020

This PR extends the parser with the ability to handle EXT-X-CUE-OUT and EXT-X-CUE-IN.

#EXT-X-CUE-OUT:DURATION=30
#EXTINF:10,	
#EXT-X-BYTERANGE:709136@5212676
hls_450k_video.ts
#EXTINF:10,	
#EXT-X-BYTERANGE:730004@5921812
hls_450k_video.ts
#EXTINF:10,	
#EXT-X-BYTERANGE:456276@6651816
hls_450k_video.ts
#EXT-X-CUE-IN
#EXTINF:10,	
#EXT-X-BYTERANGE:468684@7108092
hls_450k_video.ts

EXT-X-CUE-OUT duration is available as PlaylistItem.get('cueout') and indication of EXT-X-CUE-IN as PlaylistItem.get('cuein')

@birme birme requested a review from sinewave440hz March 6, 2020 20:30
@birme birme merged commit 716d51a into master Mar 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants