config: add ICEServers []string to DataWebRTC for issue #23
This commit is contained in:
parent
278ebaa087
commit
9aaba9bdf6
1 changed files with 5 additions and 0 deletions
|
|
@ -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"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue