omit chrome check from maxAudioChannels expr

This commit is contained in:
unclekingpin 2023-11-05 07:45:25 -08:00
parent e00d676f4b
commit 8b8fbc6f88

View file

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