From b0304d28d2bf2171bc6ce8586b866c76c87c8d49 Mon Sep 17 00:00:00 2001 From: Dmitry Lyzo Date: Tue, 14 Sep 2021 22:34:53 +0300 Subject: [PATCH] Disable DTS on webOS 5+ --- src/scripts/browserDeviceProfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/browserDeviceProfile.js b/src/scripts/browserDeviceProfile.js index cc6ef63332..a8edd5cfc3 100644 --- a/src/scripts/browserDeviceProfile.js +++ b/src/scripts/browserDeviceProfile.js @@ -389,8 +389,8 @@ import browser from './browser'; let supportsDts = browser.tizen || browser.web0s || options.supportsDts || videoTestElement.canPlayType('video/mp4; codecs="dts-"').replace(/no/, '') || videoTestElement.canPlayType('video/mp4; codecs="dts+"').replace(/no/, ''); - // DTS audio not supported in 2018 models (Tizen 4.0) - if (browser.tizenVersion >= 4) { + // DTS audio is not supported by Samsung TV 2018+ (Tizen 4.0+) and LG TV 2020+ (webOS 5.0+) models + if (browser.tizenVersion >= 4 || browser.web0sVersion >= 5) { supportsDts = false; }