googlecodelabs / webrtc-web

Realtime communication with WebRTC
https://codelabs.developers.google.com/codelabs/webrtc-web/
Apache License 2.0
755 stars 351 forks source link

How to make STUN or TURN working in Example 5 #130

Open dinhtung249 opened 2 years ago

dinhtung249 commented 2 years ago

As step 4 [Real time communication with WebRTC](https://codelabs.developers.google.com/codelabs/webrtc-web/) The servers argument to RTCPeerConnection isn't used in this example.

This is where you could specify STUN and TURN servers. So How to I can config stun or turn server. Someone can give me example about that. Many thanks.