Skip to content

Commit 2c45c5b

Browse files
authored
Merge pull request #7274 from nyanmisaka/disable-native-hls-on-chromium
2 parents cdde002 + 19cb2e9 commit 2c45c5b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/components/htmlMediaHelper.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ export function enableHlsJsPlayer(runTimeTicks, mediaType) {
6565
return true;
6666
}
6767

68+
// Chromium 141+ brings native HLS support that does not support switching HDR/SDR playlists.
69+
// Always use hls.js to avoid falling back to transcoding from remuxing and client side tone-mapping.
70+
if (browser.chrome || browser.edgeChromium || browser.opera) {
71+
return true;
72+
}
73+
6874
// simple playback should use the native support
6975
if (runTimeTicks) {
7076
return false;

0 commit comments

Comments
 (0)