generated from damir/go_app_template
Update main.go
This commit is contained in:
10
main.go
10
main.go
@@ -31,7 +31,15 @@ func handleSignaling(w http.ResponseWriter, r *http.Request) {
|
|||||||
|
|
||||||
config := webrtc.Configuration{
|
config := webrtc.Configuration{
|
||||||
ICEServers: []webrtc.ICEServer{
|
ICEServers: []webrtc.ICEServer{
|
||||||
{URLs: []string{"stun:stun.l.google.com:19302"}},
|
{
|
||||||
|
URLs: []string{"stun:88.210.53.29:3478"},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
URLs: []string{"turn:88.210.53.29:3478"},
|
||||||
|
Username: "shaihe",
|
||||||
|
Credential: "zaq1xsw2",
|
||||||
|
CredentialType: webrtc.ICECredentialTypePassword,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user