-
Notifications
You must be signed in to change notification settings - Fork 523
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix pattern signaling in seig for key rotation with cbcs
Closes #460. Bug: 112769382 Change-Id: Id2277edf9ac1ca637354f3a585666ad139ed8ee2
- Loading branch information
Showing
13 changed files
with
70 additions
and
32 deletions.
There are no files selected for viewing
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
Binary file added
BIN
+16.8 KB
packager/app/test/testdata/live-profile-and-key-rotation-cbcs/bear-640x360-audio-1.m4s
Binary file not shown.
Binary file added
BIN
+16.1 KB
packager/app/test/testdata/live-profile-and-key-rotation-cbcs/bear-640x360-audio-2.m4s
Binary file not shown.
Binary file added
BIN
+9.55 KB
packager/app/test/testdata/live-profile-and-key-rotation-cbcs/bear-640x360-audio-3.m4s
Binary file not shown.
Binary file added
BIN
+960 Bytes
packager/app/test/testdata/live-profile-and-key-rotation-cbcs/bear-640x360-audio-init.mp4
Binary file not shown.
Binary file added
BIN
+97.1 KB
packager/app/test/testdata/live-profile-and-key-rotation-cbcs/bear-640x360-video-1.m4s
Binary file not shown.
Binary file added
BIN
+119 KB
packager/app/test/testdata/live-profile-and-key-rotation-cbcs/bear-640x360-video-2.m4s
Binary file not shown.
Binary file added
BIN
+78.2 KB
packager/app/test/testdata/live-profile-and-key-rotation-cbcs/bear-640x360-video-3.m4s
Binary file not shown.
Binary file added
BIN
+1.06 KB
packager/app/test/testdata/live-profile-and-key-rotation-cbcs/bear-640x360-video-init.mp4
Binary file not shown.
32 changes: 32 additions & 0 deletions
32
packager/app/test/testdata/live-profile-and-key-rotation-cbcs/output.mpd
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,32 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!--Generated with https://github.com/google/shaka-packager version <tag>-<hash>-<test>--> | ||
<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="urn:mpeg:dash:schema:mpd:2011 DASH-MPD.xsd" xmlns:cenc="urn:mpeg:cenc:2013" profiles="urn:mpeg:dash:profile:isoff-live:2011" minBufferTime="PT2S" type="dynamic" publishTime="some_time" availabilityStartTime="some_time" minimumUpdatePeriod="PT5S" timeShiftBufferDepth="PT1800S"> | ||
<Period id="0" start="PT0S"> | ||
<AdaptationSet id="0" contentType="video" width="640" height="360" frameRate="30000/1001" segmentAlignment="true" par="16:9"> | ||
<ContentProtection value="cbcs" schemeIdUri="urn:mpeg:dash:mp4protection:2011"/> | ||
<ContentProtection schemeIdUri="urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b"/> | ||
<Representation id="0" bandwidth="977527" codecs="avc1.64001e" mimeType="video/mp4" sar="1:1"> | ||
<SegmentTemplate timescale="30000" initialization="bear-640x360-video-init.mp4" media="bear-640x360-video-$Number$.m4s" startNumber="1"> | ||
<SegmentTimeline> | ||
<S t="0" d="30030" r="1"/> | ||
<S t="60060" d="22022"/> | ||
</SegmentTimeline> | ||
</SegmentTemplate> | ||
</Representation> | ||
</AdaptationSet> | ||
<AdaptationSet id="1" contentType="audio" segmentAlignment="true"> | ||
<ContentProtection value="cbcs" schemeIdUri="urn:mpeg:dash:mp4protection:2011"/> | ||
<ContentProtection schemeIdUri="urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b"/> | ||
<Representation id="1" bandwidth="134336" codecs="mp4a.40.2" mimeType="audio/mp4" audioSamplingRate="44100"> | ||
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/> | ||
<SegmentTemplate timescale="44100" initialization="bear-640x360-audio-init.mp4" media="bear-640x360-audio-$Number$.m4s" startNumber="1"> | ||
<SegmentTimeline> | ||
<S t="0" d="45056"/> | ||
<S t="45056" d="44032"/> | ||
<S t="89088" d="31744"/> | ||
</SegmentTimeline> | ||
</SegmentTemplate> | ||
</Representation> | ||
</AdaptationSet> | ||
</Period> | ||
</MPD> |
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