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-08 18:35:21 -0800
commit0e6103e3a943c7f7726a93535048c634eb85eefc (patch)
treeed6fc6c666efd6d2176819ade9a2a10b23a2c18c /indra/newview/llvoiceclient.cpp
parentef90eba410c9357f62c8e5eaf7a0447bcb51d72f (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);