Skip to content

Commit

Permalink
fix(DASH): Ignore minBufferTime when using LL (#5285)
Browse files Browse the repository at this point in the history
  • Loading branch information
avelad authored Jun 12, 2023
1 parent d4f3f5c commit fea46d8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/dash/dash_parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,12 @@ shaka.dash.DashParser = class {

await this.periodCombiner_.combinePeriods(periods, context.dynamic);

// Set minBufferTime to 0 for low-latency DASH live stream to achieve the
// best latency
if (this.lowLatencyMode_) {
minBufferTime = 0;
}

// These steps are not done on manifest update.
if (!this.manifest_) {
this.manifest_ = {
Expand Down

0 comments on commit fea46d8

Please sign in to comment.