Skip to content

playlist: Write EXT-X-MAP before everything else#86

Merged
sdroege merged 1 commit intorutgersc:masterfrom
SanchayanMaity:map-tag-fix
Aug 4, 2025
Merged

playlist: Write EXT-X-MAP before everything else#86
sdroege merged 1 commit intorutgersc:masterfrom
SanchayanMaity:map-tag-fix

Conversation

@SanchayanMaity
Copy link
Contributor

In the presence of EXT-X-MAP tag, let it be written to the playlist first. Otherwise we end up with a playlist with an output like below where the X-MAP tag appears after the BYTERANGE.

#EXTM3U
#EXT-X-VERSION:6
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-TARGETDURATION:5
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-I-FRAMES-ONLY
#EXT-X-BYTERANGE:2710@28
#EXT-X-MAP:URI="init00000.mp4"

In the presence of EXT-X-MAP tag, let it be written to the playlist
first. Otherwise we end up with a playlist with an output like below
where the X-MAP tag appears after the BYTERANGE.

#EXTM3U
#EXT-X-VERSION:6
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-TARGETDURATION:5
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-I-FRAMES-ONLY
#EXT-X-BYTERANGE:2710@28
#EXT-X-MAP:URI="init00000.mp4"
@sdroege sdroege merged commit 124d174 into rutgersc:master Aug 4, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants