diff options
author | Roxie Linden <roxie@lindenlab.com> | 2024-03-05 11:05:31 -0800 |
---|---|---|
committer | Roxie Linden <roxie@lindenlab.com> | 2024-03-05 11:05:31 -0800 |
commit | 6d5304bd921d765dfa7e1ab6d5d0e0b64dea11f1 (patch) | |
tree | 1294a623f992d561cd817ec549c19a79198879c1 /indra/newview/llvoicewebrtc.h | |
parent | f4c1e2e795f17ff57b75b774c02b5c9bb1c53901 (diff) |
For webrtc, 'calling' dialog should remain up, disappearing when peer connects (p2p)
Diffstat (limited to 'indra/newview/llvoicewebrtc.h')
-rw-r--r-- | indra/newview/llvoicewebrtc.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/indra/newview/llvoicewebrtc.h b/indra/newview/llvoicewebrtc.h index 104331f44e..46ca4e4eda 100644 --- a/indra/newview/llvoicewebrtc.h +++ b/indra/newview/llvoicewebrtc.h @@ -143,9 +143,9 @@ public: // Note that gestures should only fire if this returns true. bool inProximalChannel() override; - void setNonSpatialChannel(const LLSD& channelInfo, bool hangup_on_last_leave) override + void setNonSpatialChannel(const LLSD& channelInfo, bool notify_on_first_join, bool hangup_on_last_leave) override { - startAdHocSession(channelInfo, hangup_on_last_leave); + startAdHocSession(channelInfo, notify_on_first_join, hangup_on_last_leave); } bool setSpatialChannel(const LLSD &channelInfo) override @@ -388,6 +388,7 @@ public: { return mSessions.find(sessionID) != mSessions.end(); } bool mHangupOnLastLeave; + bool mNotifyOnFirstJoin; protected: sessionState(); @@ -429,7 +430,10 @@ public: class adhocSessionState : public sessionState { public: - adhocSessionState(const std::string &channelID, const std::string& credentials, bool hangup_on_last_leave); + adhocSessionState(const std::string &channelID, + const std::string& credentials, + bool notify_on_first_join, + bool hangup_on_last_leave); bool isSpatial() override { return false; } bool isEstate() override { return false; } @@ -603,7 +607,7 @@ private: bool startEstateSession(); bool startParcelSession(const std::string& channelID, S32 parcelID); - bool startAdHocSession(const LLSD &channelInfo, bool hangup_on_last_leave); + bool startAdHocSession(const LLSD &channelInfo, bool notify_on_first_join, bool hangup_on_last_leave); std::string nameFromID(const LLUUID &id); bool IDFromName(const std::string name, LLUUID &uuid); |