godotengine / godotengine/godot-docs

Add a webrtc warning to set the remote description before adding ICE candidates to avoid suffering

Open
#10,022 1 comment 0 reactions 0 assignees View on GitHub
area:class reference area:manual enhancement topic:network
Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
1d 20h
Merged PRs (30d)
25

Description

**Your Godot version:**
4.2.2

**Issue description:**
I got brutally DESTROYED by this. please dont let other suffers like me. Add this line in the docs:

```
Warning: WebRTCPeerConnection cannot accept remote ICE candidates until a remote session description is set. This means,
set the remote description before adding ice candidates.
```
**URL to the documentation page (if already existing):**
https://docs.godotengine.org/en/stable/tutorials/networking/webrtc.html
AND
https://docs.godotengine.org/en/stable/classes/class_webrtcpeerconnection.html#class-webrtcpeerconnection

put it in both plz..
```[tasklist]
### Tasks
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.