mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
send correct mediaCapabilities to stremio-video
This commit is contained in:
parent
1ed001f445
commit
557ea31372
1 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue