Update main.go

This commit is contained in:
2026-04-04 14:53:29 +00:00
parent 2b876382ff
commit 030b16649a

10
main.go
View File

@@ -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,
},
}, },
} }