You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JPDelprat
changed the title
dash.js player doesn't seem to work if 'Location' in manifest file is different from the manifest download uri.
dash.js player doesn't seem to work if 'Location' field in manifest file is different from the manifest download uri.
Feb 11, 2024
Version 4.7.4
Problem with reference online player.
dash.js player doesn't seem to work if 'Location' field in manifest file is different from the manifest download uri.
Bug seems to be located in the following method.
function getBaseURLsFromElement(node) {
var entries = node.BaseURL_asArray || [node.baseUri];
This method doesn't take manifest 'Location' field into account.
This method is called recursively on manifest nodes.
I've fixed it by replacing
var entries = node.BaseURL_asArray || [node.baseUri];
with
var entries = node.Location_asArray || node.BaseURL_asArray || [node.baseUri];
I don't know if this is the correct fix, but this may help you to solve the problem.
The text was updated successfully, but these errors were encountered: