1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Limit number of streams on Tizen

This commit is contained in:
Dmitry Lyzo 2025-02-18 19:59:03 +03:00 committed by Dmitry Lyzo
parent f008d803e8
commit e83f5aca3d

View file

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