summaryrefslogtreecommitdiff
path: root/indra/newview/llspeakers.h
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2024-04-26 21:31:06 -0700
committerRoxie Linden <roxie@lindenlab.com>2024-04-26 21:31:06 -0700
commit4c4d23acb00960d1bc812eab4656d3f4cdcd70e3 (patch)
tree5fdda9c6e74df212f24d2cbad75392c3514d8fa0 /indra/newview/llspeakers.h
parent534ddc52900261789416034a621b8b1d5617920e (diff)
Renegotiate voice if the voice server type has changed.
The server will send an update with new voice credentials when another peer comes in requiring vivox, if the channel was initially webrtc.
Diffstat (limited to 'indra/newview/llspeakers.h')
-rw-r--r--indra/newview/llspeakers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llspeakers.h b/indra/newview/llspeakers.h
index 22c9481687..ba1dfec226 100644
--- a/indra/newview/llspeakers.h
+++ b/indra/newview/llspeakers.h
@@ -241,6 +241,7 @@ public:
typedef std::vector<LLPointer<LLSpeaker> > speaker_list_t;
void getSpeakerList(speaker_list_t* speaker_list, BOOL include_text);
LLVoiceChannel* getVoiceChannel() { return mVoiceChannel; }
+ void setVoiceChannel(LLVoiceChannel *voiceChannel) { mVoiceChannel = voiceChannel; }
const LLUUID getSessionID();
bool isSpeakerToBeRemoved(const LLUUID& speaker_id);