Skip to content

Commit

Permalink
fix: Disable smooth codec switching in Edge Windows (#6384)
Browse files Browse the repository at this point in the history
Fixes #6353
  • Loading branch information
avelad committed Apr 8, 2024
1 parent 4aa8caa commit b6a9ab3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/util/platform.js
Expand Up @@ -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;
}

Expand Down

0 comments on commit b6a9ab3

Please sign in to comment.