webrtc: rename stunServers into iceServers (#1545)

This commit is contained in:
Alessandro Ros 2023-03-09 16:55:35 +01:00 committed by GitHub
parent 167c5ec6c5
commit c51a686208
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -71,7 +71,7 @@ type webRTCServer struct {
externalAuthenticationURL string
allowOrigin string
trustedProxies conf.IPsOrCIDRs
stunServers []string
iceServers []string
readBufferCount int
pathManager *pathManager
metrics *metrics
@ -107,7 +107,7 @@ func newWebRTCServer(
serverCert string,
allowOrigin string,
trustedProxies conf.IPsOrCIDRs,
stunServers []string,
iceServers []string,
readBufferCount int,
pathManager *pathManager,
metrics *metrics,
@ -160,7 +160,7 @@ func newWebRTCServer(
externalAuthenticationURL: externalAuthenticationURL,
allowOrigin: allowOrigin,
trustedProxies: trustedProxies,
stunServers: stunServers,
iceServers: iceServers,
readBufferCount: readBufferCount,
pathManager: pathManager,
metrics: metrics,
@ -249,7 +249,7 @@ outer:
s.readBufferCount,
req.pathName,
req.wsconn,
s.stunServers,
s.iceServers,
&wg,
s.pathManager,
s,