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: Allow to customize HLS Live behavior #4578

Merged
merged 3 commits into from
Oct 16, 2022

Conversation

avelad
Copy link
Member

@avelad avelad commented Oct 13, 2022

No description provided.

@avelad avelad added type: enhancement New feature or request component: HLS The issue involves Apple's HLS manifest format priority: P2 Smaller impact or easy workaround labels Oct 13, 2022
@avelad avelad added this to the v4.3 milestone Oct 13, 2022
@github-actions
Copy link
Contributor

Incremental code coverage: 100.00%

* the availability window equal to the presentation delay. The player
* will be able to buffer ahead three segments, but the seek window will
* be zero-sized.
* <i>Defaults to <code>truecode>.</i>
Copy link
Contributor

Choose a reason for hiding this comment

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

The closing code tag is broken.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed!

@@ -858,6 +859,13 @@ shaka.extern.DashManifestConfiguration;
* format this value.
* <i>Defaults to
* <code>'video/mp2t; codecs="avc1.42E01E, mp4a.40.2"'</code>.</i>
* @property {boolean} useSafariBehaviorForLive
* The spec says nothing much about seeking in live content, but Safari's
* built-in HLS implementation does not allow it. Therefore we will set
Copy link
Contributor

Choose a reason for hiding this comment

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

The wording in the second sentence here is confusing. It isn't clear it's describing the effect of this configuration value.
I would explicitly describe it in terms of what happens if it's set to true, vs if it's set to false. Something like:

If this is true, playback will set the availability window to the presentation delay. The player will be able to buffer ahead three segments, but the seek window will be zero-sized, to be consistent with Safari.
If this is false, the seek window will be the entire duration.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@avelad avelad requested a review from theodab October 14, 2022 08:03
@theodab theodab merged commit 4914201 into shaka-project:main Oct 16, 2022
@avelad avelad deleted the hls-live-behavior branch October 17, 2022 08:29
@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
component: HLS The issue involves Apple's HLS manifest format priority: P2 Smaller impact or easy workaround 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