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: Prevent error and incorrect duration #5001

Merged
merged 1 commit into from
Feb 16, 2023
Merged

Conversation

cuyl
Copy link
Contributor

@cuyl cuyl commented Feb 14, 2023

The duration is the minimum of the end times of all active streams.
Non-active streams are not guaranteed to have useful maxTimestamp
values, due to the lazy-loading system, so they are ignored.

@github-actions
Copy link
Contributor

Incremental code coverage: 100.00%

lib/hls/hls_parser.js Show resolved Hide resolved
lib/hls/hls_parser.js Outdated Show resolved Hide resolved
The duration is the minimum of the end times of all active streams.
Non-active streams are not guaranteed to have useful maxTimestamp
values, due to the lazy-loading system, so they are ignored.
@cuyl
Copy link
Contributor Author

cuyl commented Feb 15, 2023

@theodab I appreciate your suggestions and am sorry for the poor expression.

@theodab theodab merged commit 1aee989 into shaka-project:main Feb 16, 2023
@theodab
Copy link
Contributor

theodab commented Feb 16, 2023

Thank you for your contribution!

joeyparrish pushed a commit that referenced this pull request Mar 1, 2023
The duration is the minimum of the end times of all active streams.
Non-active streams are not guaranteed to have useful maxTimestamp
values, due to the lazy-loading system, so they are ignored.
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Jul 25, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants