Fix high-quality surround sound breaking audio when streaming over the Internet or IPv6
This commit is contained in:
parent
c322ed9437
commit
a9780361a3
5 changed files with 14 additions and 1 deletions
|
|
@ -566,6 +566,15 @@ int performRtspHandshake(void) {
|
|||
NegotiatedVideoFormat = VIDEO_FORMAT_H264;
|
||||
}
|
||||
|
||||
// Check if high bitrate surround sound is available before attempting to request it.
|
||||
// TODO: Parse these surround-params so we can get rid of our hardcoded Opus mappings
|
||||
if (strstr(response.payload, "surround-params=660")) {
|
||||
HighQualitySurroundSupported = 1;
|
||||
}
|
||||
else {
|
||||
HighQualitySurroundSupported = 0;
|
||||
}
|
||||
|
||||
freeMessage(&response);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue