feat: add support for adding Session Based Descriptor Document Essential Property for DASH #856
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Trying to add support for Session Based Descriptor.
Use case as per the std:
"While the DASH viewing session per client is a unique interaction, the MPD is often cached on the CDN and
shared by multiple viewing sessions of the same asset. The session-based description mechanism allows
adding session-specific elements to segment URLs without generating unique per-session MPDs."
"A sidecar document, Session-Based description Document (SBD), includes the time ranges and the
corresponding strings, along with additional metadata. The SBD is referenced in the MPD by its URL. "
mpd example: https://github.com/MPEGGroup/DASHPart8/blob/master/example-mpd.xml
To add the Essential Property, have added the following flags:
sbd_url_all -> add EssentialProperties to all the adaptation sets.
sbd_url_video/audio/text -> add EssentialProperties to all video, audio and text adaptation sets respectively.
Example:
Have added many flags as SBD Essential Property can different for different adaptation sets, so added flags to indicate different adaptation set based on content types. Also PR assumes that SBD EP will be indicated at adaptation set level.
Have added 1 example in packager_test.py.
Validations have not been added yet.
Please let me know what you think.