From e83f5aca3d3d9821f02653beceefaebd05b04436 Mon Sep 17 00:00:00 2001 From: Dmitry Lyzo Date: Tue, 18 Feb 2025 19:59:03 +0300 Subject: [PATCH] Limit number of streams on Tizen --- src/scripts/browserDeviceProfile.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/scripts/browserDeviceProfile.js b/src/scripts/browserDeviceProfile.js index 4370edaeaf..f38d7ab6e7 100644 --- a/src/scripts/browserDeviceProfile.js +++ b/src/scripts/browserDeviceProfile.js @@ -913,6 +913,19 @@ export default function (options) { profile.ContainerProfiles = []; + if (browser.tizen) { + // Tizen doesn't support more than 32 streams in a single file + profile.ContainerProfiles.push({ + Type: 'Video', + Conditions: [{ + Condition: 'LessThanEqual', + Property: 'NumStreams', + Value: '32', + IsRequired: false + }] + }); + } + profile.CodecProfiles = []; const supportsSecondaryAudio = canPlaySecondaryAudio(videoTestElement);