diff --git a/config/data.go b/config/data.go index 7585bd9..78c7b75 100644 --- a/config/data.go +++ b/config/data.go @@ -343,4 +343,9 @@ type DataWebRTC struct { PublicIP string `json:"public_ip"` NAT1To1IPs []string `json:"nat_1_to_1_ips"` UDPMuxPort int `json:"udp_mux_port" format:"int"` + // ICEServers is an optional operator-supplied list of STUN/TURN URIs + // (e.g. "stun:stun.example.com:3478", "turn:user:pass@turn.example.com"). + // When non-empty it overrides the built-in default STUN servers used by + // the WebRTC subsystem. Exposed via CORE_WEBRTC_ICE_SERVERS (comma-separated). + ICEServers []string `json:"ice_servers"` }