Not sending proper voice server type down when breaking a connection

master
Roxie Linden 2024-03-24 20:42:32 -07:00
parent 6047b61b2a
commit 8d14df5984
1 changed files with 2 additions and 4 deletions

View File

@ -2363,7 +2363,7 @@ void LLVoiceWebRTCConnection::breakVoiceConnection()
LLSD body;
body["logout"] = TRUE;
body["viewer_session"] = mViewerSession;
body["voice_server_type"] = REPORTED_VOICE_SERVER_TYPE;
body["voice_server_type"] = WEBRTC_VOICE_SERVER_TYPE;
LLCoreHttpUtil::HttpCoroutineAdapter::ptr_t httpAdapter(
new LLCoreHttpUtil::HttpCoroutineAdapter("LLVoiceWebRTCAdHocConnection::breakVoiceConnection",
@ -2419,9 +2419,7 @@ void LLVoiceWebRTCSpatialConnection::requestVoiceConnection()
LLSD body;
LLSD jsep;
jsep["type"] = "offer";
{
jsep["sdp"] = mChannelSDP;
}
jsep["sdp"] = mChannelSDP;
body["jsep"] = jsep;
if (mParcelLocalID != INVALID_PARCEL_ID)
{