-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: handle tilde/paths in the query string, cleanup tests (#43)
- Loading branch information
1 parent
ca1b6e2
commit 4a528ce
Showing
10 changed files
with
1,487 additions
and
1,018 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
test/resources/duplicate-manifests/manifest0/rendition.m3u8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#EXTM3U | ||
#EXT-X-VERSION:3 | ||
#EXT-X-PLAYLIST-TYPE:VOD | ||
#EXT-X-MEDIA-SEQUENCE:0 | ||
#EXT-X-TARGETDURATION:10 | ||
#EXTINF:9.985, | ||
segment0.ts | ||
#EXTINF:9.985, | ||
segment1.ts | ||
#EXTINF:9.985, | ||
segment2.ts | ||
#EXTINF:9.985, | ||
segment3.ts | ||
#EXTINF:9.985, | ||
segment4.ts | ||
#EXTINF:9.985, | ||
segment5.ts | ||
#EXTINF:9.985, | ||
segment6.ts | ||
#EXTINF:9.985, | ||
segment7.ts | ||
#EXTINF:6.177, | ||
segment8.ts | ||
#EXT-X-ENDLIST |
24 changes: 24 additions & 0 deletions
24
test/resources/duplicate-manifests/manifest1/rendition.m3u8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#EXTM3U | ||
#EXT-X-VERSION:3 | ||
#EXT-X-PLAYLIST-TYPE:VOD | ||
#EXT-X-MEDIA-SEQUENCE:0 | ||
#EXT-X-TARGETDURATION:10 | ||
#EXTINF:9.985, | ||
segment0.ts | ||
#EXTINF:9.985, | ||
segment1.ts | ||
#EXTINF:9.985, | ||
segment2.ts | ||
#EXTINF:9.985, | ||
segment3.ts | ||
#EXTINF:9.985, | ||
segment4.ts | ||
#EXTINF:9.985, | ||
segment5.ts | ||
#EXTINF:9.985, | ||
segment6.ts | ||
#EXTINF:9.985, | ||
segment7.ts | ||
#EXTINF:6.177, | ||
segment8.ts | ||
#EXT-X-ENDLIST |
24 changes: 24 additions & 0 deletions
24
test/resources/duplicate-manifests/manifest2/rendition.m3u8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#EXTM3U | ||
#EXT-X-VERSION:3 | ||
#EXT-X-PLAYLIST-TYPE:VOD | ||
#EXT-X-MEDIA-SEQUENCE:0 | ||
#EXT-X-TARGETDURATION:10 | ||
#EXTINF:9.985, | ||
segment0.ts | ||
#EXTINF:9.985, | ||
segment1.ts | ||
#EXTINF:9.985, | ||
segment2.ts | ||
#EXTINF:9.985, | ||
segment3.ts | ||
#EXTINF:9.985, | ||
segment4.ts | ||
#EXTINF:9.985, | ||
segment5.ts | ||
#EXTINF:9.985, | ||
segment6.ts | ||
#EXTINF:9.985, | ||
segment7.ts | ||
#EXTINF:6.177, | ||
segment8.ts | ||
#EXT-X-ENDLIST |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#EXTM3U | ||
#EXT-X-VERSION:4 | ||
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio-0",NAME="en",DEFAULT=YES,AUTOSELECT=YES,LANGUAGE="en",URI="manifest0/rendition.m3u8" | ||
#EXT-X-STREAM-INF:PROGRAM-ID=0,BANDWIDTH=70400,CODECS="mp4a.40.2",AUDIO="audio-0",CLOSED-CAPTIONS=NONE | ||
manifest0/rendition.m3u8 | ||
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio-1",NAME="en",DEFAULT=YES,AUTOSELECT=YES,LANGUAGE="en",URI="manifest1/rendition.m3u8" | ||
#EXT-X-STREAM-INF:PROGRAM-ID=0,BANDWIDTH=105600,CODECS="mp4a.40.2",AUDIO="audio-1",CLOSED-CAPTIONS=NONE | ||
manifest1/rendition.m3u8 | ||
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio-2",NAME="en",DEFAULT=YES,AUTOSELECT=YES,LANGUAGE="en",URI="manifest2/rendition.m3u8" | ||
#EXT-X-STREAM-INF:PROGRAM-ID=0,BANDWIDTH=139700,CODECS="mp4a.40.2",AUDIO="audio-2",CLOSED-CAPTIONS=NONE | ||
manifest2/rendition.m3u8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#EXTM3U | ||
#EXT-X-VERSION:3 | ||
#EXT-X-PLAYLIST-TYPE:VOD | ||
#EXT-X-MEDIA-SEQUENCE:0 | ||
#EXT-X-TARGETDURATION:10 | ||
#EXTINF:9.985, | ||
https://example.com/segment0.ts?foo=/do-not/include-me/in-output | ||
#EXTINF:9.985, | ||
https://example.com/segment1.ts?foo=/do-not/include-me/in-output | ||
#EXTINF:9.985, | ||
https://example.com/segment2.ts?foo=/do-not/include-me/in-output | ||
#EXTINF:9.985, | ||
https://example.com/segment3.ts?foo=/do-not/include-me/in-output | ||
#EXTINF:9.985, | ||
https://example.com/segment4.ts?foo=/do-not/include-me/in-output | ||
#EXTINF:9.985, | ||
https://example.com/segment5.ts?foo=/do-not/include-me/in-output | ||
#EXTINF:9.985, | ||
https://example.com/segment6.ts?foo=/do-not/include-me/in-output | ||
#EXTINF:9.985, | ||
https://example.com/segment7.ts?foo=/do-not/include-me/in-output | ||
#EXTINF:6.177, | ||
https://example.com/segment8.ts?foo=/do-not/include-me/in-output | ||
#EXT-X-ENDLIST |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#EXTM3U | ||
#EXT-X-VERSION:3 | ||
#EXT-X-PLAYLIST-TYPE:VOD | ||
#EXT-X-MEDIA-SEQUENCE:0 | ||
#EXT-X-TARGETDURATION:10 | ||
#EXTINF:9.985, | ||
https://example.com/segment0.ts?foo_token=exp=4444444444~pool=/123456788787387878728/*~nice=some-uuid-my-dude | ||
#EXTINF:9.985, | ||
https://example.com/segment1.ts?foo_token=exp=4444444444~pool=/123456788787387878728/*~nice=some-uuid-my-dude | ||
#EXTINF:9.985, | ||
https://example.com/segment2.ts?foo_token=exp=4444444444~pool=/123456788787387878728/*~nice=some-uuid-my-dude | ||
#EXTINF:9.985, | ||
https://example.com/segment3.ts?foo_token=exp=4444444444~pool=/123456788787387878728/*~nice=some-uuid-my-dude | ||
#EXTINF:9.985, | ||
https://example.com/segment4.ts?foo_token=exp=4444444444~pool=/123456788787387878728/*~nice=some-uuid-my-dude | ||
#EXTINF:9.985, | ||
https://example.com/segment5.ts?foo_token=exp=4444444444~pool=/123456788787387878728/*~nice=some-uuid-my-dude | ||
#EXTINF:9.985, | ||
https://example.com/segment6.ts?foo_token=exp=4444444444~pool=/123456788787387878728/*~nice=some-uuid-my-dude | ||
#EXTINF:9.985, | ||
https://example.com/segment7.ts?foo_token=exp=4444444444~pool=/123456788787387878728/*~nice=some-uuid-my-dude | ||
#EXTINF:6.177, | ||
https://example.com/segment8.ts?foo_token=exp=4444444444~pool=/123456788787387878728/*~nice=some-uuid-my-dude | ||
#EXT-X-ENDLIST |
Oops, something went wrong.