Skip to content

task/cml-xml-parse#4719

Merged
dsilhavy merged 28 commits intoDash-Industry-Forum:developmentfrom
cbsinteractive:task/xml-parse
Jun 2, 2025
Merged

task/cml-xml-parse#4719
dsilhavy merged 28 commits intoDash-Industry-Forum:developmentfrom
cbsinteractive:task/xml-parse

Conversation

@littlespex
Copy link
Copy Markdown
Contributor

@littlespex littlespex commented Mar 17, 2025

Replace tXml with CML's parseXml function.

This change has been discussed previously on the monthly calls, but the summary is:

The tXml library is no longer supported/maintained, but is used by player libraries like dash.js and shaka-player. Like many other features, both projects copied the source code into their respective repos and maintained changes separately. The original library code, and the changes made by the players, have been moved to the Common Media Library. This PR:

  • Brings in the CML version of the function
  • Moves the dash.js specific functionality into a single processXml function.

Here is the original CML issue:

streaming-video-technology-alliance/common-media-library#125

Comment thread src/dash/parser/DashParser.js
@nigelmegitt
Copy link
Copy Markdown
Contributor

Would be helpful to explain the motivation for this change, given there's no associated issue.

As I recall, one of the reasons for switching to tXml was performance-related. Have there been any performance comparisons done between tXml and CML?

@littlespex
Copy link
Copy Markdown
Contributor Author

littlespex commented Mar 17, 2025

Would be helpful to explain the motivation for this change, given there's no associated issue.

As I recall, one of the reasons for switching to tXml was performance-related. Have there been any performance comparisons done between tXml and CML?

The PR description has been updated. In short, this is just the tXml function, now actively maintained by CML.

@dsilhavy dsilhavy added this to the 5.1.0 milestone Apr 4, 2025
@littlespex littlespex changed the base branch from development to master April 21, 2025 17:27
@littlespex littlespex changed the base branch from master to development April 21, 2025 17:27
Comment thread src/dash/parser/DashParser.js Outdated
@littlespex
Copy link
Copy Markdown
Contributor Author

littlespex commented May 15, 2025

Comment thread src/dash/parser/DashParser.js
@dsilhavy dsilhavy merged commit 0acf57b into Dash-Industry-Forum:development Jun 2, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

3 participants