Backport pull request #7296 from jellyfin-web/release-10.11.z

Revert "Enable use of hls.js when LG WebOS 4 or newer is used."

Original-merge: 03c2cebbd3620296375847a3b8e4677bfe039ce6

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: thornbill <thornbill@users.noreply.github.com>
This commit is contained in:
thornbill
2025-11-17 11:14:10 -05:00
parent d744639c22
commit 463b3559b1
2 changed files with 0 additions and 14 deletions
-6
View File
@@ -48,12 +48,6 @@ export function enableHlsJsPlayer(runTimeTicks, mediaType) {
return false;
}
// Native HLS support in WebOS only plays stereo sound. hls.js works better, but works only on WebOS 4 or newer.
// Using hls.js also seems to fix fast forward issues that native HLS has.
if (browser.web0sVersion >= 4) {
return true;
}
// The native players on these devices support seeking live streams, no need to use hls.js here
if (browser.tizen || browser.web0s) {
return false;
-8
View File
@@ -137,14 +137,6 @@ function supportsEac3(videoTestElement) {
}
function supportsAc3InHls(videoTestElement) {
// We use hls.js on WebOS 4 and newer and hls.js uses Media Sources Extensions (MSE) API.
// On WebOS MSE does support AC-3 and EAC-3 only on audio mp4 file but not on audiovideo mp4
// therefore until audio and video is not separated when generating stream and m3u8 this should
// return false.
if (browser.web0sVersion >= 4) {
return false;
}
if (browser.tizen || browser.web0s) {
return true;
}