summaryrefslogtreecommitdiff
path: root/indra/newview/llvoiceclient.cpp
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2024-01-25 20:53:19 -0800
committerRoxie Linden <roxie@lindenlab.com>2024-02-22 23:11:36 -0800
commitbb2994d9ba89f199c08d88d89257f7944117a234 (patch)
tree8851a608d63e69a95281ae13f00b59ba32500a9c /indra/newview/llvoiceclient.cpp
parente8edfbf3d488e1981a876a40714f36dafad5414a (diff)
Checkpoint Ad-Hoc voice.
Unlike vivox, P2P uses the ad-hoc voice mechanism, which is also used by group voice.
Diffstat (limited to 'indra/newview/llvoiceclient.cpp')
-rw-r--r--indra/newview/llvoiceclient.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llvoiceclient.cpp b/indra/newview/llvoiceclient.cpp
index 294ae0c9ad..54840a1235 100644
--- a/indra/newview/llvoiceclient.cpp
+++ b/indra/newview/llvoiceclient.cpp
@@ -486,6 +486,13 @@ std::string LLVoiceClient::getCurrentChannel()
//---------------------------------------
// invitations
+bool LLVoiceClient::hasP2PInterface()
+{
+ if (mVoiceModule)
+ return mVoiceModule->hasP2PInterface();
+ return false;
+}
+
void LLVoiceClient::callUser(const LLUUID &uuid)
{
if (mVoiceModule) mVoiceModule->callUser(uuid);