Shaka-player: Live edge logic: startup vs. seeking

Created on 31 Aug 2016  路  1Comment  路  Source: google/shaka-player

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.

archived bug

Most helpful comment

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.

>All comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

luusetsenkoodbichsen picture luusetsenkoodbichsen  路  3Comments

avelad picture avelad  路  3Comments

dakom picture dakom  路  3Comments

alexandercerutti picture alexandercerutti  路  5Comments

interpegasus picture interpegasus  路  3Comments