From d1ac9d7b272bfb719d670273133c898ba0b5ef9e Mon Sep 17 00:00:00 2001 From: Dmitry Lyzo Date: Tue, 12 Nov 2024 22:48:49 +0300 Subject: [PATCH] Don't use AudioTrack API on Tizen 8+ --- src/scripts/browserDeviceProfile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/scripts/browserDeviceProfile.js b/src/scripts/browserDeviceProfile.js index 755e6e70e75..4166cb89da7 100644 --- a/src/scripts/browserDeviceProfile.js +++ b/src/scripts/browserDeviceProfile.js @@ -462,7 +462,8 @@ export function canPlaySecondaryAudio(videoTestElement) { // It doesn't work in Firefox 108 even with "media.track.enabled" enabled (it only sees the first audio track) && !browser.firefox // It seems to work on Tizen 5.5+ (2020, Chrome 69+). See https://developer.tizen.org/forums/web-application-development/video-tag-not-work-audiotracks - && (browser.tizenVersion >= 5.5 || !browser.tizen) + // There are reports that additional audio track (AudioTrack API) doesn't work on Tizen 8. + && (browser.tizenVersion >= 5.5 && browser.tizenVersion < 8 || !browser.tizen) && (browser.web0sVersion >= 4.0 || !browser.web0sVersion); }