mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2026-01-15 16:33:35 -03:00
Merge pull request #7274 from nyanmisaka/disable-native-hls-on-chromium
This commit is contained in:
@@ -65,6 +65,12 @@ export function enableHlsJsPlayer(runTimeTicks, mediaType) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// Chromium 141+ brings native HLS support that does not support switching HDR/SDR playlists.
|
||||
// Always use hls.js to avoid falling back to transcoding from remuxing and client side tone-mapping.
|
||||
if (browser.chrome || browser.edgeChromium || browser.opera) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// simple playback should use the native support
|
||||
if (runTimeTicks) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user