send correct mediaCapabilities to stremio-video

This commit is contained in:
unclekingpin 2023-11-05 01:07:23 -08:00
parent 1ed001f445
commit 557ea31372

View file

@ -285,13 +285,13 @@ const Player = ({ urlParams, queryParams }) => {
:
0,
forceTranscoding: forceTranscoding || casting,
maxAudioChannels: typeof maxAudioChannels === 'number' ?
maxAudioChannels
mediaCapabilities: typeof maxAudioChannels === 'number' ?
{
mp4: { maxAudioChannels },
'matroska,webm': { maxAudioChannels }
}
:
window.chrome ?
2
:
null,
null,
streamingServerURL: streamingServer.baseUrl.type === 'Ready' ?
casting ?
streamingServer.baseUrl.content