Merge pull request #1164 from secondlife/roxie/webrtc-voice

master
Roxanne Skelly 2024-04-09 07:33:13 -07:00 committed by GitHub
commit 75a9ed38c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -2823,6 +2823,11 @@ void LLVoiceWebRTCConnection::OnDataReceivedImpl(const std::string &data, bool b
{
participant->mIsSpeaking = voice_data[participant_id].get("v", Json::Value(false)).asBool();
}
if (voice_data[participant_id].isMember("m"))
{
participant->mIsModeratorMuted = voice_data[participant_id].get("m", Json::Value(false)).asBool();
}
}
}
}