-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
fix(Demo): Allow manifest type for DAI custom assets #4977
Conversation
Incremental code coverage: No instrumented code was changed. |
demo/main.js
Outdated
case 'dash': | ||
case 'MPD': | ||
case 'mpd': | ||
request.format = 'dash'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Man, I had to actually look through the code to verify that the string values of these enums are in lowercase. The public documentation only says that the enums are StreamRequest.StreamFormat.DASH
and StreamRequest.StreamFormat.HLS
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am going to change it, but the cases of the case are for the value that the user enters in the popup, and here it is transformed to the value that DAI expects.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I know.
I was just commenting, since I was trying to cross-reference with the IMA SDK docs to make sure the values you put in were right. I was disappointed that the docs were so vague about that enum.
I'll wait for the tests to pass and then I merge it. Thanks @theodab ! |
Fixes #4887