Description
The surroundAudioInfo parameter needs to be provided on /resume also, otherwise the stream will be forced to stereo and a No surround parameters found error will be emitted from moonlight-common-c when establishing the RTSP connection.
I also took advantage of the new SURROUNDAUDIOINFO_FROM_AUDIO_CONFIGURATION() in moonlight-common-c to avoid hardcoding surround audio parameters.
Purpose
Fix surround sound audio when resuming a previously launched session.
Description The
surroundAudioInfo
parameter needs to be provided on/resume
also, otherwise the stream will be forced to stereo and aNo surround parameters found
error will be emitted from moonlight-common-c when establishing the RTSP connection.I also took advantage of the new
SURROUNDAUDIOINFO_FROM_AUDIO_CONFIGURATION()
in moonlight-common-c to avoid hardcoding surround audio parameters.Purpose Fix surround sound audio when resuming a previously launched session.