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

feat(HLS): Add support to HOLD-BACK in EXT-X-SERVER-CONTROL #5281

Merged
merged 1 commit into from
Jun 12, 2023

Conversation

avelad
Copy link
Member

@avelad avelad commented Jun 12, 2023

No description provided.

@avelad avelad added type: enhancement New feature or request component: HLS The issue involves Apple's HLS manifest format priority: P3 Useful but not urgent labels Jun 12, 2023
@avelad avelad added this to the v4.4 milestone Jun 12, 2023
@github-actions
Copy link
Contributor

Incremental code coverage: 100.00%

@@ -2680,6 +2687,8 @@ shaka.hls.HlsParser = class {
presentationDelay = this.config_.defaultPresentationDelay;
} else if (this.lowLatencyPresentationDelay_) {
presentationDelay = this.lowLatencyPresentationDelay_;
} else if (this.presentationDelay_) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was going to say "what if the tag has a HOLD-BACK value of 0" but I looked up the RFC and HOLD-BACK has an explicit minimum value, so that would be an invalid manifest anyway.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From the spec

The value is a decimal-floating-point number of seconds that
      indicates the server-recommended minimum distance from the end of
      the Playlist at which clients should begin to play or to which
      they should seek, unless PART-HOLD-BACK applies.  Its value MUST
      be at least three times the Target Duration.

@avelad avelad merged commit bb2c06a into shaka-project:main Jun 12, 2023
@avelad avelad deleted the hls-hold-back branch June 12, 2023 10:18
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Aug 11, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component: HLS The issue involves Apple's HLS manifest format priority: P3 Useful but not urgent status: archived Archived and locked; will not be updated type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants