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

Remove OPUS from supported HLS audio formats

OPUS is not a standard HLS audio format, it's not mentioned in Apple's HLS document.
Remuxing/Direct Streaming films with OPUS audio to Android Chrome will result in no sound.
Thus leave it only for DirectPlay and Tizen.
This commit is contained in:
nyanmisaka 2021-05-19 21:07:36 +08:00
parent 97a0d8fbfc
commit 1fc5096a98

View file

@ -414,8 +414,10 @@ import browser from './browser';
if (canPlayAudioFormat('opus')) {
videoAudioCodecs.push('opus');
hlsInTsVideoAudioCodecs.push('opus');
webmAudioCodecs.push('opus');
if (browser.tizen) {
hlsInTsVideoAudioCodecs.push('opus');
}
}
if (canPlayAudioFormat('flac')) {