-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: Add Support for HLS Interstitials - 1st Version (#125)
* feat: Add Support For HLS Interstital Tag V1 * add test for basic hls interstitial * add new testvector * clean up old testvector
- Loading branch information
1 parent
b72dfee
commit 7f053d8
Showing
8 changed files
with
269 additions
and
96 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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:6 | ||
## Created with Unified Streaming Platform (version=1.11.20-26889) | ||
|
||
# AUDIO groups | ||
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio-aacl-256",NAME="Swedish",LANGUAGE="sv",DEFAULT=YES,AUTOSELECT=YES,CHANNELS="2",URI="test-audio=256000.m3u8" | ||
|
||
# variants | ||
#EXT-X-STREAM-INF:BANDWIDTH=2500000,CODECS="mp4a.40.2,avc1.4D401F",RESOLUTION=1024x576,FRAME-RATE=25,VIDEO-RANGE=SDR,AUDIO="audio-aacl-256",CLOSED-CAPTIONS=NONE | ||
test-video=2500000.m3u8 | ||
|
29 changes: 29 additions & 0 deletions
29
testvectors/hls_cmaf_interstitial_1/test-audio=256000.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,29 @@ | ||
#EXTM3U | ||
#EXT-X-VERSION:6 | ||
## Created with Unified Streaming Platform (version=1.11.20-26889) | ||
#EXT-X-PLAYLIST-TYPE:VOD | ||
#EXT-X-MEDIA-SEQUENCE:1 | ||
#EXT-X-INDEPENDENT-SEGMENTS | ||
#EXT-X-TARGETDURATION:3 | ||
#EXT-X-PROGRAM-DATE-TIME:1970-01-01T00:00:00.001Z | ||
#EXT-X-MAP:URI="test-audio=256000.m4s" | ||
#EXTINF:10, no desc | ||
test-audio=2500000-1.m4s | ||
#EXTINF:10, no desc | ||
test-audio=2500000-2.m4s | ||
#EXTINF:10, no desc | ||
test-audio=2500000-3.m4s | ||
#EXT-X-DATERANGE:ID="ad1",CLASS="com.apple.hls.interstitial",START-DATE="1970-01-01T00:00:35.001Z",DURATION=15.0,X-ASSET-URI="http://example.com/ad1.m3u8",X-RESUME-OFFSET=0, X-RESTRICT="SKIP,JUMP",X-COM-EXAMPLE-BEACON=123 | ||
#EXTINF:10, no desc | ||
test-audio=2500000-4.m4s | ||
#EXTINF:10, no desc | ||
test-audio=2500000-5.m4s | ||
#EXTINF:10, no desc | ||
test-audio=2500000-6.m4s | ||
#EXTINF:10, no desc | ||
test-audio=2500000-7.m4s | ||
#EXTINF:10, no desc | ||
test-audio=2500000-8.m4s | ||
#EXTINF:10, no desc | ||
test-audio=2500000-9.m4s | ||
#EXT-X-ENDLIST |
29 changes: 29 additions & 0 deletions
29
testvectors/hls_cmaf_interstitial_1/test-video=2500000.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,29 @@ | ||
#EXTM3U | ||
#EXT-X-VERSION:6 | ||
## Created with Unified Streaming Platform (version=1.11.20-26889) | ||
#EXT-X-PLAYLIST-TYPE:VOD | ||
#EXT-X-MEDIA-SEQUENCE:1 | ||
#EXT-X-INDEPENDENT-SEGMENTS | ||
#EXT-X-TARGETDURATION:3 | ||
#EXT-X-PROGRAM-DATE-TIME:1970-01-01T00:00:00.001Z | ||
#EXT-X-MAP:URI="test-video=256000.m4s" | ||
#EXTINF:10, no desc | ||
test-video=2500000-1.m4s | ||
#EXTINF:10, no desc | ||
test-video=2500000-2.m4s | ||
#EXTINF:10, no desc | ||
test-video=2500000-3.m4s | ||
#EXT-X-DATERANGE:ID="ad1",CLASS="com.apple.hls.interstitial",START-DATE="1970-01-01T00:00:35.001Z",DURATION=15.0,X-ASSET-URI="http://example.com/ad1.m3u8",X-RESUME-OFFSET=0, X-RESTRICT="SKIP,JUMP",X-COM-EXAMPLE-BEACON=123 | ||
#EXTINF:10, no desc | ||
test-video=2500000-4.m4s | ||
#EXTINF:10, no desc | ||
test-video=2500000-5.m4s | ||
#EXTINF:10, no desc | ||
test-video=2500000-6.m4s | ||
#EXTINF:10, no desc | ||
test-video=2500000-7.m4s | ||
#EXTINF:10, no desc | ||
test-video=2500000-8.m4s | ||
#EXTINF:10, no desc | ||
test-video=2500000-9.m4s | ||
#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