diff options
| author | Roxie Linden <roxie@lindenlab.com> | 2024-04-26 21:31:06 -0700 |
|---|---|---|
| committer | Roxie Linden <roxie@lindenlab.com> | 2024-04-26 21:31:06 -0700 |
| commit | 4c4d23acb00960d1bc812eab4656d3f4cdcd70e3 (patch) | |
| tree | 5fdda9c6e74df212f24d2cbad75392c3514d8fa0 /indra/newview/llspeakers.cpp | |
| parent | 534ddc52900261789416034a621b8b1d5617920e (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.cpp')
| -rw-r--r-- | indra/newview/llspeakers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llspeakers.cpp b/indra/newview/llspeakers.cpp index 60bada8f58..00691d4382 100644 --- a/indra/newview/llspeakers.cpp +++ b/indra/newview/llspeakers.cpp @@ -618,7 +618,7 @@ void LLSpeakerMgr::getSpeakerList(speaker_list_t* speaker_list, BOOL include_tex const LLUUID LLSpeakerMgr::getSessionID() { - return mVoiceChannel->getSessionID(); + return mVoiceChannel ? mVoiceChannel->getSessionID() : LLUUID(); } bool LLSpeakerMgr::isSpeakerToBeRemoved(const LLUUID& speaker_id) |
