-
Notifications
You must be signed in to change notification settings - Fork 430
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add parsed essential/supplemental properties to the Representation.
We already parse essential and supplemental properties from the Representation, but don't add them to our Representation class so that they can be accessed by users. Issue: google/ExoPlayer#9579 PiperOrigin-RevId: 409961990
- Loading branch information
Showing
5 changed files
with
184 additions
and
28 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
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
31 changes: 31 additions & 0 deletions
31
libraries/test_data/src/test/assets/media/mpd/sample_mpd_essential_supplemental_properties
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,31 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<MPD availabilityStartTime="2014-06-19T23:07:42" type="dynamic"> | ||
<Period start="PT7462826.784S" id="0"> | ||
<AdaptationSet id="0" mimeType="video/mp4"> | ||
<SupplementalProperty | ||
schemeIdUri="urn:mpeg:dash:supplemental-scheme:2050" | ||
value="adaptationSupplemental"/> | ||
<EssentialProperty | ||
schemeIdUri="urn:mpeg:dash:essential-scheme:2050" | ||
value="adaptationEssential"/> | ||
<Representation id="singleSegment"> | ||
<SegmentBase/> | ||
<SupplementalProperty | ||
schemeIdUri="urn:mpeg:dash:supplemental-scheme:2050" | ||
value="representationSupplemental"/> | ||
<EssentialProperty | ||
schemeIdUri="urn:mpeg:dash:essential-scheme:2050" | ||
value="representationEssential"/> | ||
</Representation> | ||
<Representation id="multiSegment"> | ||
<SegmentList/> | ||
<SupplementalProperty | ||
schemeIdUri="urn:mpeg:dash:supplemental-scheme:2050" | ||
value="representationSupplemental"/> | ||
<EssentialProperty | ||
schemeIdUri="urn:mpeg:dash:essential-scheme:2050" | ||
value="representationEssential"/> | ||
</Representation> | ||
</AdaptationSet> | ||
</Period> | ||
</MPD> |