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:
parent
f426747b62
commit
d10d6f0e0b
1 changed files with 3 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue