check if streaming server settings are loaded before sending them as laod args

This commit is contained in:
unclekingpin 2024-06-23 00:56:08 -07:00
parent 2f2a4e4123
commit 4d97ed946a

View file

@ -292,7 +292,7 @@ const Player = ({ urlParams, queryParams }) => {
0,
forceTranscoding: forceTranscoding || casting,
maxAudioChannels: settings.surroundSound ? 32 : 2,
streamingServerSettings: streamingServer.settings.content,
streamingServerSettings: streamingServer.settings.type === 'Ready' ? streamingServer.settings.content : null,
streamingServerURL: streamingServer.baseUrl ?
casting ?
streamingServer.baseUrl