Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Commit

Permalink
complete update according to PR Dash-Industry-Forum#3451
Browse files Browse the repository at this point in the history
  • Loading branch information
bbert committed Apr 16, 2021
1 parent 0841b38 commit 79c3dfd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/dash/parser/DashParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function DashParser(config) {
let manifest;
const startTime = window.performance.now();

manifest = parseXml(data, DashConstants.MPD);
manifest = parseXml(data);

if (!manifest) {
throw new Error('failed to parse the manifest');
Expand Down Expand Up @@ -139,6 +139,9 @@ function DashParser(config) {
if (Array.isArray(root[key])) {
ret[key] = root[key][0];
break;
} else if (typeof root[key] === 'object') {
ret[key] = root[key];
break;
}
}
} else {
Expand Down

0 comments on commit 79c3dfd

Please sign in to comment.