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: don't adjust mediaPresentationDuration by timescale for segment … #94

Merged
merged 1 commit into from
Mar 31, 2020

Commits on Mar 27, 2020

  1. fix: don't adjust mediaPresentationDuration by timescale for segment …

    …duration when using SegmentBase
    
    When using SegmentBase, there is only one segment. If the duration is
    not present, sourceDuration is used, which comes from
    mediaPresentationDuration.
    
    Previously, sourceDuration was being divided by the timescale, but
    mediaPresentationDuration is defined in the DASH spec as s:duration,
    which follows ISO 8601. It doesn't need to be adjusted based on the
    timescale.
    
    This change fixes the use of sourceDuration for SegmentBase by not
    performing that division.
    gesinger committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    cbd34a7 View commit details
    Browse the repository at this point in the history