From 70c8b439b119dc6f7fca484c04dcd553e611e48d Mon Sep 17 00:00:00 2001 From: gnattu Date: Tue, 30 Apr 2024 17:09:21 +0800 Subject: [PATCH] Disable mp3 in hls-ts for ps4 --- src/scripts/browserDeviceProfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/browserDeviceProfile.js b/src/scripts/browserDeviceProfile.js index a0535e9a62..1dfb5ea717 100644 --- a/src/scripts/browserDeviceProfile.js +++ b/src/scripts/browserDeviceProfile.js @@ -487,7 +487,7 @@ export default function (options) { } // Safari supports mp3 with HLS, but only in mpegts container, and the supportsMp3VideoAudio will return false. - if (browser.safari || supportsMp3VideoAudio) { + if (!browser.ps4 && (browser.safari || supportsMp3VideoAudio)) { hlsInTsVideoAudioCodecs.push('mp3'); }