Skip to content

Extracting Duration Information from Static MPD Files Without Playback #4292

Answered by dsilhavy
casulma asked this question in Q&A
Discussion options

You must be logged in to vote
  1. The parser in dash.js is not a separate module, there are dependencies to classes which are related to playback. You would need to extract all classes related to the parsing. The ManifestLoader.js might be a good starting point but it will be hard to extract all dependencies into a separate module. If you only want to compute the duration my suggestion is to use a standard XML parser and then extract the information from there
  2. We use mediaPresentationDuration

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@casulma
Comment options

Answer selected by casulma
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants