Disable DTS on webOS 5+

This commit is contained in:
Dmitry Lyzo 2021-09-14 22:34:53 +03:00
parent 95a142f8fe
commit b0304d28d2

View File

@ -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;
}