Skip to content

Commit

Permalink
Update Configuration for Chromecast devices
Browse files Browse the repository at this point in the history
  • Loading branch information
Iragne committed Oct 20, 2024
1 parent e883fed commit 1b24ac8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/util/player_configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,10 @@ shaka.util.PlayerConfiguration = class {
streaming.gapPadding = 2;
}

if (shaka.util.Platform.isChromecast()) {
manifest.dash.initialSegmentLimit = 100;
}

const offline = {
// We need to set this to a throw-away implementation for now as our
// default implementation will need to reference other fields in the
Expand Down

0 comments on commit 1b24ac8

Please sign in to comment.