-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Conversation
Incremental code coverage: 100.00% |
externs/shaka/player.js
Outdated
* 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> |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed!
externs/shaka/player.js
Outdated
@@ -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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
No description provided.