diff options
| author | Brad Linden <brad@lindenlab.com> | 2024-08-01 15:42:22 -0700 |
|---|---|---|
| committer | Brad Linden <brad@lindenlab.com> | 2024-08-01 15:42:22 -0700 |
| commit | 0ff2bd1a405e4b7f3af5f815d02124017f23d468 (patch) | |
| tree | 465b18c3087cf437a9d8ee124ddab4c7cb2dc633 /indra/newview/llvoiceclient.cpp | |
| parent | f9377566b9d1f2aba6aa10bfee0f9a67221debff (diff) | |
| parent | 002be0f24321164a74ef2a88c656b7cb0968c7d3 (diff) | |
Merge remote-tracking branch 'origin/release/2024.06-atlasaurus' into develop
Diffstat (limited to 'indra/newview/llvoiceclient.cpp')
| -rw-r--r-- | indra/newview/llvoiceclient.cpp | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/indra/newview/llvoiceclient.cpp b/indra/newview/llvoiceclient.cpp index 4b299a51f5..264e11fe34 100644 --- a/indra/newview/llvoiceclient.cpp +++ b/indra/newview/llvoiceclient.cpp @@ -826,7 +826,7 @@ void LLVoiceClient::removeObserver(LLVoiceClientParticipantObserver* observer) LLWebRTCVoiceClient::getInstance()->removeObserver(observer); } -std::string LLVoiceClient::sipURIFromID(const LLUUID &id) +std::string LLVoiceClient::sipURIFromID(const LLUUID &id) const { if (mNonSpatialVoiceModule) { @@ -842,6 +842,22 @@ std::string LLVoiceClient::sipURIFromID(const LLUUID &id) } } +LLSD LLVoiceClient::getP2PChannelInfoTemplate(const LLUUID& id) const +{ + if (mNonSpatialVoiceModule) + { + return mNonSpatialVoiceModule->getP2PChannelInfoTemplate(id); + } + else if (mSpatialVoiceModule) + { + return mSpatialVoiceModule->getP2PChannelInfoTemplate(id); + } + else + { + return LLSD(); + } +} + LLVoiceEffectInterface* LLVoiceClient::getVoiceEffectInterface() const { return NULL; |
