From bc05e7dcf4d64873816a96f04d6772c2a75be37c Mon Sep 17 00:00:00 2001 From: Roxie Linden Date: Thu, 1 Feb 2024 09:20:11 -0800 Subject: checkpoint p2p/adhoc voice --- indra/newview/llimview.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'indra/newview/llimview.cpp') diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp index 3e03dbef8f..78017337e8 100644 --- a/indra/newview/llimview.cpp +++ b/indra/newview/llimview.cpp @@ -681,10 +681,15 @@ LLIMModel::LLIMSession::LLIMSession(const LLUUID& session_id, const std::string& { mSessionType = GROUP_SESSION; } - else + else if (LLVoiceClient::getInstance()->hasP2PInterface()) { mSessionType = ADHOC_SESSION; } + else + { + // webrtc uses adhoc channels for p2p + mSessionType = P2P_SESSION; + } } if(mVoiceChannel) -- cgit v1.2.3