Skip to content

Commit

Permalink
fix(DASH): Set delay to 0 for LL streams (#6406)
Browse files Browse the repository at this point in the history
  • Loading branch information
avelad committed Apr 8, 2024
1 parent c1dd615 commit 0a9f97f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/dash/dash_parser.js
Expand Up @@ -597,6 +597,9 @@ shaka.dash.DashParser = class {
// best latency
if (this.lowLatencyMode_) {
minBufferTime = 0;
const presentationDelay = suggestedPresentationDelay != null ?
suggestedPresentationDelay : this.config_.defaultPresentationDelay;
presentationTimeline.setDelay(presentationDelay);
}

// These steps are not done on manifest update.
Expand Down

0 comments on commit 0a9f97f

Please sign in to comment.