From 1b24ac80397499cf5abc9728b665eb79a567a21d Mon Sep 17 00:00:00 2001 From: Iragne Date: Sun, 20 Oct 2024 10:18:24 +0200 Subject: [PATCH] Update Configuration for Chromecast devices --- lib/util/player_configuration.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/util/player_configuration.js b/lib/util/player_configuration.js index b068c5e110..5a020f1285 100644 --- a/lib/util/player_configuration.js +++ b/lib/util/player_configuration.js @@ -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