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

Some users encounter mp2 audio not decoded on android devices (see https://github.com/jellyfin/jellyfin-android/issues/764).

This fix sets mp2 support on android devices to unsupported and therefor forces transcoding of audio in such cases (usually DVB recordings).
This commit is contained in:
lomion0815 2022-08-27 08:22:59 +02:00
parent f426747b62
commit d10d6f0e0b

View file

@ -390,6 +390,9 @@ import browser from './browser';
if (supportsMp3VideoAudio && (browser.chrome || browser.edgeChromium || (browser.firefox && browser.versionMajor >= 83))) {
supportsMp2VideoAudio = true;
}
if (browser.android) {
supportsMp2VideoAudio = false;
}
}
/* eslint-disable compat/compat */