-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Support for the <baseURL> tag #571
Comments
I'm currently out of the office for a few weeks but wanted to flag that I have been working on prototyping this. We are interested in DVB-DASH so my work is focusing on supporting this, but has a simple fallback when DVB profile is not in use which matches the logic described in (1). See DVB DASH sections 10.8.2 and 11.9 for more information. There's still more to do but hopefully I should have something to show in a few weeks time. Please let me know if you anyone else has picked this up so we are not duplicating effort. I plan to support all three phases in one go - I don't think it adds much complexity. segmentRetryCountBeforeBaseURL feels like it should be a generic retry parameter, regardless of the number of BaseURLs. Is there any reason to behave differently if there are no alternative URLs to try? Perhaps the interval should be tunable too? I'd probably rather the default number of retries was higher than 0, but it's open to debate. DVB DASH gives some sensible maximums (section 10.8.6). |
Is Multi-CDN BaseURL elements included now in the latest Dash.js 1.5.1? And where is the latest documentation on how it handles the switch logic defining when and how to switch over to these alternate sources? |
No - this feature was not implemented in 1.5. |
Thanks Dave, do you (or anyone) know if Multi-CDN BaseURL is planned or provisioned for 1.6 or 2.0? Or an idea on expected timeframe for this... |
I think @bbcrddave is going to take on this work for 2.1 so marking for 2.1 milestone. |
See #1280 for a PR implementing this functionality. It implements all phases as described in the OP. If the DVB profile is detected in I did not change the existing retry behaviour, so the default is still a crazy four times. I did not implement I did not implement |
@bbcrddave I added this please add comments. I will close this issue since you implemented support. Please open a new ticket if there are parts left to track. |
DASH spec Section 5.6 provides for multiple levels of baseURL support i.e the ability to source a segment from an alternate locations. BaseURLs can be specified at different levels within the manifest:
Concomitant with support for BaseURL is a requirement to define when and how to switch over to these alternate sources. Switch logic may be different for live services and VOD and may also vary between different applications.
To simplify development, it is proposed that baseURL is added in a number of phases:
The text was updated successfully, but these errors were encountered: