Do not calculate totalDuration at parse time
Unless a comment specifies the total duration, do not add the property to the parsed manifest object. Also, do not default it to zero if it is not defined in the manifest. Instead, calculate the total duration from the target duration and segment metadata whenever a new playlist is selected.
Showing
38 changed files
with
126 additions
and
87 deletions
-
Please register or sign in to post a comment