Fix issue where p2p calls were coming up muted even thought the UI said they were not.

meow-7.2.2
Roxie Linden 2025-08-11 16:12:35 -07:00 committed by Andrey Kleshchev
parent ea24792fec
commit f7f06063c7
1 changed files with 6 additions and 2 deletions

View File

@ -2795,8 +2795,12 @@ bool LLVoiceWebRTCConnection::connectionStateMachine()
}
// update the peer connection with the various characteristics of
// this connection.
// this connection will come up as muted, but will be set to the appropriate
// value later on.
// For spatial this connection will come up as muted, but will be set to the appropriate
// value later on when we determine the regions we connect to.
if (!isSpatial())
{
mWebRTCAudioInterface->setMute(mMuted);
}
mWebRTCAudioInterface->setReceiveVolume(mSpeakerVolume);
LLWebRTCVoiceClient::getInstance()->OnConnectionEstablished(mChannelID, mRegionID);
setVoiceConnectionState(VOICE_STATE_WAIT_FOR_DATA_CHANNEL);