Skip to content
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

Fix/mpd patch #4457

Merged
merged 7 commits into from
Apr 16, 2024
Merged

Fix/mpd patch #4457

merged 7 commits into from
Apr 16, 2024

Conversation

dsilhavy
Copy link
Collaborator

This PR addresses #4452

  • In tXml.js add __children for each object to have the possibility to access the elements in the original order. This is important for MPD patching as operations need to happen sequentially
  • In tXml.js keep the tagName for each node to be able to identify the type of the node in __children
  • Fix processing of patches in PatchManifestModel based on the changes described above.
  • Fix the unit tests to account for the new element structure

@dsilhavy
Copy link
Collaborator Author

@bbert Please let me know if you think there is a better way to adjust the parser in order to access the elements in sequential order.

I keep this PR open to verify the patching functionality once there has been a small fix in the LiveSim reference sreams. See here for details: Dash-Industry-Forum/livesim2#174 (comment)

@dsilhavy
Copy link
Collaborator Author

Also fixed a bug that caused the startNumber to be treated as a string. This lead to string concatenation of numbers instead of doing a "normal" addition.

@dsilhavy dsilhavy merged commit b38ba81 into development Apr 16, 2024
2 of 4 checks passed
@dsilhavy dsilhavy deleted the fix/mpdPatch branch April 16, 2024 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

1 participant