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

Live edge logic: startup vs. seeking #504

Closed
Feenposhleen opened this issue Aug 31, 2016 · 1 comment
Closed

Live edge logic: startup vs. seeking #504

Feenposhleen opened this issue Aug 31, 2016 · 1 comment
Assignees
Labels
status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Milestone

Comments

@Feenposhleen
Copy link

Howdy

We are trying out some live streams that includes a suggestedPresentationDelay (SPD). One thing we noticed is how the calculation of the live edge differs between seeking and startup. When seeking, the edge is at now - SPD, which is expected. When starting a stream, however, the edge is further back, since the rebuffering goal is subtracted as well (now - SPD - rebuffering goal).

When not providing an explicit SPD, it makes sense to add the extra padding (since it's guesswork, and you want to avoid a buffering startup). If provided, however, I think the player should always assume that now - SPD is the live edge. This is according to spec, since a SPD should take into account the typical required buffering in the client, for example based on the network condition (DASH-IF IOP 3.2, 4.3.3.2.2).

One solution could be to simply increase the default SPD, and to no longer append the rebuffering goal on startup. That way you'd get consistent logic.

@joeyparrish joeyparrish added the type: bug Something isn't working correctly label Sep 1, 2016
@joeyparrish joeyparrish added this to the v2.0.0 milestone Sep 1, 2016
@joeyparrish
Copy link
Member

That makes sense. I agree with your interpretation of the spec. I found a live stream that behaves as you described, and your suggested solution seems to work well, too.

@joeyparrish joeyparrish self-assigned this Sep 1, 2016
@shaka-project shaka-project locked and limited conversation to collaborators Mar 22, 2018
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Apr 15, 2021
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 type: bug Something isn't working correctly
Projects
None yet
Development

No branches or pull requests

3 participants