From 316542c1005ef699888ca29d79f997bae5423be4 Mon Sep 17 00:00:00 2001 From: Abdul Mueid Date: Sun, 29 Sep 2024 00:25:04 +0200 Subject: [PATCH] Vidaa OS web browser reports it supports HEVC but playback is glitchy. Tested on 2 models (U7 & U8). This commit disables HEVC on Vidaa OS browser profile and uses transcoding instead to play HEVC files. With MKV disabled and hlsInTs, hevc videos work properly by remuxing on Hisense Vidaa OS. Tested on model 55U7QF. Removed force disabling hevc as it is no longer required with hlsInTs --- src/scripts/browserDeviceProfile.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/scripts/browserDeviceProfile.js b/src/scripts/browserDeviceProfile.js index 7e2beba1258..755e6e70e75 100644 --- a/src/scripts/browserDeviceProfile.js +++ b/src/scripts/browserDeviceProfile.js @@ -197,6 +197,10 @@ function canPlayAudioFormat(format) { } function testCanPlayMkv(videoTestElement) { + if (browser.vidaa) { + return false; + } + if (browser.tizen || browser.web0s) { return true; } @@ -658,7 +662,7 @@ export default function (options) { if (canPlayHevc(videoTestElement, options)) { mp4VideoCodecs.push('hevc'); - if (browser.tizen || browser.web0s) { + if (browser.tizen || browser.web0s || browser.vidaa) { hlsInTsVideoCodecs.push('hevc'); } }