-
Notifications
You must be signed in to change notification settings - Fork 7.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
Need a failure mechanism from Dash to HLS ? #4114
Comments
It should be automatically seeing that |
dash.js does support Safari in general, in this case the specific source does not work with Safari. The general scenario this bug brings up is falling back to a different source when some kind of error happens |
@gkatsev That's one way to do it. But I was wondering shouldn't it switch automatically to the next available source if the default one is not supported? |
No reason other than effort. See #1805. |
Seems like this one should be closed in favor of #1805. |
Observed behaviour
I am trying to set up a mechanism where videojs can load the source dynamically according to its tech order or similar. Am I doing something wrong here?
Turns out VP9 is not supported on Safari and it should switch to HLS but it's not switching to HLS for Safari.
Can I catch the not supported type error and switch the source if it's not handled dynamically?
Thanks.
Code
One hack to bypass this issue is to provide empty key systems object (https://github.com/videojs/videojs-contrib-dash#protected-content) and This will automatically skip DASH sources on Safari since it only supports HLS FairPlay DRM.
Updated Code with Workaround
Is there any permanent solution?
Thanks !
The text was updated successfully, but these errors were encountered: