summaryrefslogtreecommitdiff
path: root/indra/newview/llvoiceclient.h
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2024-02-01 21:53:33 -0800
committerRoxie Linden <roxie@lindenlab.com>2024-02-08 18:35:55 -0800
commit0cd8ad6ebb6e76bfc04cf6c423b0dc586161c6f7 (patch)
treea7fe176001188df619f75db8dd36494252e6c992 /indra/newview/llvoiceclient.h
parentecd6b87b195321f522e27e5f62fe33eeaec48b4e (diff)
Hang up when peer hangs up in ad-hoc driven p2p call
Diffstat (limited to 'indra/newview/llvoiceclient.h')
-rw-r--r--indra/newview/llvoiceclient.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/indra/newview/llvoiceclient.h b/indra/newview/llvoiceclient.h
index 1a20de6109..69004f2000 100644
--- a/indra/newview/llvoiceclient.h
+++ b/indra/newview/llvoiceclient.h
@@ -167,7 +167,8 @@ public:
virtual bool inProximalChannel()=0;
virtual void setNonSpatialChannel(const std::string &uri,
- const std::string &credentials)=0;
+ const std::string &credentials,
+ bool hangup_on_last_leave = false)=0;
virtual bool setSpatialChannel(const std::string &uri,
const std::string &credentials)=0;
@@ -371,9 +372,12 @@ public:
// returns true iff the user is currently in a proximal (local spatial) channel.
// Note that gestures should only fire if this returns true.
bool inProximalChannel();
+
void setNonSpatialChannel(
- const std::string &uri,
- const std::string &credentials);
+ const std::string &uri,
+ const std::string &credentials,
+ bool hangup_on_last_leave = false);
+
void setSpatialChannel(
const std::string &uri,
const std::string &credentials);