Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(toDash): Add contentType to audio and video adaption sets #539

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

absidue
Copy link
Collaborator

@absidue absidue commented Nov 24, 2023

Specifying the contentType attribute saves video players a little bit of work while parsing the DASH manifest, because they can read that attribute to get the type instead of having to guess it from the mime type and codec.

Relevant lines in shaka-player:
https://github.com/shaka-project/shaka-player/blob/2a524bf51fc613b8ebddb5794524cbb3f6366d4b/lib/dash/dash_parser.js#L1311-L1326

@LuanRT LuanRT merged commit 4806fc6 into LuanRT:main Dec 1, 2023
3 of 4 checks passed
@absidue absidue deleted the dash-content-type branch December 1, 2023 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants