Missing TURN server message should be shown only if there was never a connection with the peer
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 2.2k
- Forks
- 587
- Avg merge
- 18h 27m
- Merged PRs (30d)
- 333
Description
iceConnectionState will be set to failed if the ICE negotiation fails. However, it could happen too if there was a working connection with the peer but the connection fails for some reason. In that case the missing TURN server message would be misleading, as the TURN server would not have solved the issue.
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
Start in src/utils/webrtc/webrtc.js at the missing TURN server message around line 585, and inspect how iceConnectionState changes are handled. The message should appear only when the peer has never had a working connection; verify the behavior for both initial ICE failure and a later connection failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100