diff options
| author | cosmic-linden <111533034+cosmic-linden@users.noreply.github.com> | 2026-05-15 09:06:35 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-15 09:06:35 -0700 |
| commit | cd2dd394b95361a6a274670c7b7ee8c6f2cf8979 (patch) | |
| tree | 2516cc6b10ef3960fd430a9a7a31bd59bde7be7e /indra | |
| parent | ba9d13be80fe842f79ea604af915fbc4d8454e1f (diff) | |
| parent | 01f4b1817d07b5edb850cc7ca1f6cf14e2406c7e (diff) | |
Merge pull request #5816 from secondlife/cosmic/janus_set_version_26.3
Fix display of ad-hoc session type in About and display p2p instead as appropriate
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/newview/llvoicewebrtc.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/indra/newview/llvoicewebrtc.cpp b/indra/newview/llvoicewebrtc.cpp index 59e634b130..3b36c7ed25 100644 --- a/indra/newview/llvoicewebrtc.cpp +++ b/indra/newview/llvoicewebrtc.cpp @@ -353,9 +353,16 @@ void LLWebRTCVoiceClient::updateVersion() { // A WebRTC session can be connected to multiple servers at once. To more easily disambiguate which server version is being printed, show the connection type. In most cases, this shouldn't matter and the Janus version should be the same for all connections. Janus versions are also logged for each connection. mVoiceVersion.serverVersion = session->getVersion(); - if (session->isCallbackPossible()) + if (dynamic_cast<adhocSessionState*>(session.get())) { - mVoiceVersion.mBuildVersion = "ad-hoc"; + if (session->mHangupOnLastLeave) + { + mVoiceVersion.mBuildVersion = "p2p"; + } + else + { + mVoiceVersion.mBuildVersion = "ad-hoc"; + } } else if (session->isEstate()) { |
