secondlife / secondlife/viewer
[WebRTC] An error occured while trying to connect to voice when initiating a call immediately after login
A pull request for this has already been merged.
- #2886 by @LLGuru — merged
- Dominant language
- C++
- Stars
- 299
- Forks
- 146
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 88
Description
Environment
Second Life Release 7.1.9.10205353598 (64bit)
You are at 128.0, 127.9, 23.0 in webRTC1 located at simhost-07c23d76c83837d55.aditi
SLURL: secondlife://Aditi/secondlife/webRTC1/128/128/23
(global coordinates 259,968.0, 245,376.0, 23.0)
WebRTC-Voice 2024-08-15.10397494850
Description
Viewer shows a popup "An error has occurred while trying to connect to voice chat for akleshchev. Please try again later."
For some reason this popup is in main chat, not in an IM
Expected:
Either for call to go through or for 'call' button to be disabled. Any errors probably should be in specifc IMs
Reproduction steps
Log in
Call nearby agent as fast as possible
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the issue’s login-then-immediately-call reproduction and the related pull request #2886 before choosing an entry point. Check how the voice connection error is surfaced during that timing window and whether it appears in the intended conversation context. Done means the call is handled appropriately or the call control is unavailable, with errors shown in the specific IM rather than main chat.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100