-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
DashJs player is clearing buffer when switching between periods, which causes rebuffering.
We are using 1 minute periods and it causes us frequent rebuffering when user seeks.
For now we have diagnosed part which is causing this behaviour: function prepareOuterPeriodPlaybackSeeking()
is pruning buffer on period switch (calls bufferController.pruneAllSafely()
). Removing this line fixes issue, but introduces problem with not clearing buffer.
We have tried replacing bufferController.pruneAllSafely()
with bufferController.clearBuffers()
to clear buffer outside our settings range, but it causes issue with SourceBuffer limit:
This MediaSource has reached the limit of SourceBuffer objects it can handle. No additional SourceBuffer objects may be added.
Is there any way of avoiding this behaviour? It does not occur when seeking within period.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status