From b6a9ab3cc55d91780af9f1f1099f3c36bd0da5e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Velad=20Galv=C3=A1n?= Date: Tue, 2 Apr 2024 09:38:40 +0200 Subject: [PATCH] fix: Disable smooth codec switching in Edge Windows (#6384) Fixes https://github.com/shaka-project/shaka-player/issues/6353 --- lib/util/platform.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/util/platform.js b/lib/util/platform.js index ee66ff7c92..3c9903b743 100644 --- a/lib/util/platform.js +++ b/lib/util/platform.js @@ -535,6 +535,10 @@ shaka.util.Platform = class { Platform.isWebOS4() || Platform.isWebOS5()) { return false; } + // See: https://chromium-review.googlesource.com/c/chromium/src/+/4577759 + if (Platform.isWindows() && Platform.isEdge()) { + return false; + } return true; }