Merge branch 'roxie/webrtc-voice' of https://github.com/secondlife/viewer into roxie/webrtc-voice

master
Roxie Linden 2024-04-08 21:30:36 -07:00
commit b425165add
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();
}
}
}
}