mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add options.supportsMp3InTs to allow client override
This commit is contained in:
parent
7f27baf183
commit
adf6530650
1 changed files with 1 additions and 1 deletions
|
@ -488,7 +488,7 @@ export default function (options) {
|
||||||
|
|
||||||
// Safari is the only browser that supports mp3 with HLS, but only in mpegts container.
|
// Safari is the only browser that supports mp3 with HLS, but only in mpegts container.
|
||||||
// The detect function will return false on Safari, which reflects the fmp4 support, so we have to hard-code it here.
|
// The detect function will return false on Safari, which reflects the fmp4 support, so we have to hard-code it here.
|
||||||
if (browser.safari || canPlayMp3VideoAudioInHls) {
|
if (browser.safari || canPlayMp3VideoAudioInHls || options.supportsMp3InTs) {
|
||||||
hlsInTsVideoAudioCodecs.push('mp3');
|
hlsInTsVideoAudioCodecs.push('mp3');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue