diff options
author | Roxanne Skelly <roxanne@roxiware.com> | 2024-04-09 07:33:13 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-09 07:33:13 -0700 |
commit | 75a9ed38c045464e4c3be58c67552e3856089312 (patch) | |
tree | 56aa1acc4380f386866a5d554ce72eb1449c2220 /indra/newview/llvoicewebrtc.cpp | |
parent | f2ec9e5cca078434e624e42afec11ebd7d681e06 (diff) | |
parent | b425165addbe1c141e050556ff4aa18c8d042dab (diff) |
Merge pull request #1164 from secondlife/roxie/webrtc-voice
Diffstat (limited to 'indra/newview/llvoicewebrtc.cpp')
-rw-r--r-- | indra/newview/llvoicewebrtc.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llvoicewebrtc.cpp b/indra/newview/llvoicewebrtc.cpp index cb01a079cc..710067c2bf 100644 --- a/indra/newview/llvoicewebrtc.cpp +++ b/indra/newview/llvoicewebrtc.cpp @@ -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(); + } } } } |