From 9aaba9bdf68bdffe08b8b3f89f528095c0626ef8 Mon Sep 17 00:00:00 2001 From: ZGaetano Date: Sun, 10 May 2026 21:12:45 -0400 Subject: [PATCH] config: add ICEServers []string to DataWebRTC for issue #23 --- config/data.go | 5 +++++ 1 file changed, 5 insertions(+) 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"` }