use 2 channel audio on chrome unless other is specified

This commit is contained in:
nklhrstv 2021-09-27 18:46:27 +03:00
parent be7a653479
commit e1e69d98e6

View file

@ -230,7 +230,13 @@ const Player = ({ urlParams, queryParams }) => {
:
0,
forceTranscoding: forceTranscoding || casting,
audioChannels,
audioChannels: typeof audioChannels === 'number' ?
audioChannels
:
window.chrome ?
2
:
null,
streamingServerURL: streamingServer.baseUrl.type === 'Ready' ?
casting ?
streamingServer.baseUrl.content