diff options
author | Roxie Linden <roxie@lindenlab.com> | 2023-12-24 00:05:46 -0800 |
---|---|---|
committer | Roxie Linden <roxie@lindenlab.com> | 2024-02-08 18:34:02 -0800 |
commit | 423892d0236dd202586f86dcf53c7d363553d859 (patch) | |
tree | a52d047dbbabc0b490281ce143bb73770f906eb9 /indra/newview/llvoicewebrtc.h | |
parent | ec59d2477f686b7e2ee036bbc5a871d9fc735461 (diff) |
Don't need to send level data up to the server anymore
Diffstat (limited to 'indra/newview/llvoicewebrtc.h')
-rw-r--r-- | indra/newview/llvoicewebrtc.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/indra/newview/llvoicewebrtc.h b/indra/newview/llvoicewebrtc.h index f89501e15c..f042ecca85 100644 --- a/indra/newview/llvoicewebrtc.h +++ b/indra/newview/llvoicewebrtc.h @@ -244,7 +244,7 @@ public: void OnConnectionEstablished(const std::string& channelID, const LLUUID& regionID); void OnConnectionFailure(const std::string &channelID, const LLUUID& regionID); - void sendPositionAndVolumeUpdate(bool force); + void sendPositionUpdate(bool force); void updateOwnVolume(); ////////////////////////////// @@ -396,7 +396,6 @@ public: private: std::list<connectionPtr_t> mWebRTCConnections; - std::string mPrimaryConnectionID; static std::map<std::string, ptr_t> mSessions; // canonical list of outstanding sessions. sessionState(); @@ -416,7 +415,7 @@ public: // Private Member Functions ////////////////////////////////////////////////////// - static void predSendData(const LLWebRTCVoiceClient::sessionStatePtr_t &session, const std::string& spatial_data, const std::string& volume_data); + static void predSendData(const LLWebRTCVoiceClient::sessionStatePtr_t &session, const std::string& spatial_data); static void predUpdateOwnVolume(const LLWebRTCVoiceClient::sessionStatePtr_t &session, F32 audio_level); static void predSetMuteMic(const LLWebRTCVoiceClient::sessionStatePtr_t &session, bool mute); static void predSetMicGain(const LLWebRTCVoiceClient::sessionStatePtr_t &session, F32 volume); @@ -597,8 +596,6 @@ private: LLVoiceDeviceList mCaptureDevices; LLVoiceDeviceList mRenderDevices; - uint32_t mAudioLevel; - bool mIsInitialized; bool mShutdownComplete; @@ -843,8 +840,6 @@ protected: F32 mMicGain; F32 mSpeakerVolume; - bool mPrimary; - std::vector<llwebrtc::LLWebRTCIceCandidate> mIceCandidates; bool mIceCompleted; bool mTrickling; |