1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

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

This commit is contained in:
Timi Tuohenmaa 2025-03-29 13:17:24 +02:00
parent 917994ce37
commit d08885c295
2 changed files with 14 additions and 0 deletions

View file

@ -137,6 +137,14 @@ 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;
}