Set default 8555 port for WebRTC (UDP+TCP)

This commit is contained in:
Alexey Khit
2023-01-13 20:34:47 +03:00
parent c6ad7ac39f
commit ff8b0fbb9c

View File

@@ -22,6 +22,7 @@ func Init() {
} `yaml:"webrtc"` } `yaml:"webrtc"`
} }
cfg.Mod.Listen = ":8555"
cfg.Mod.IceServers = []pion.ICEServer{ cfg.Mod.IceServers = []pion.ICEServer{
{URLs: []string{"stun:stun.l.google.com:19302"}}, {URLs: []string{"stun:stun.l.google.com:19302"}},
} }