Skip to content

Commit b316105

Browse files
committed
Realtime: added warning about port 53 URLs
1 parent 8fee58d commit b316105

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/content/docs/realtime/turn/generate-credentials.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ The JSON response below can then be passed on to your front-end application:
5353
}
5454
```
5555

56+
Note: the list of URLs returned contains URLs with the primary and alternate ports. The alternate port 53 is known to be blocked by web browsers. So this TURN URL will time out if used in browsers. If you are using trickle ICE this not going to cause problems. But if you wait for ICE gathering to finish before passing on the ICE candidates you might want to filter out the alternate URL with port 53 to avoid waiting for it to time out.
57+
5658
Use `iceServers` as follows when instantiating the `RTCPeerConnection`:
5759

5860
```js

0 commit comments

Comments
 (0)