always let WebRTCDialer constructor decide the clientID

This commit is contained in:
Shelikhoo 2024-09-12 14:35:03 +01:00 committed by WofWca
parent c7b163de57
commit c322e8b7f5
2 changed files with 3 additions and 4 deletions

View file

@ -291,7 +291,7 @@ func NewWebRTCDialerWithNatPolicyAndEventsAndProxy(
eventLogger event.SnowflakeEventReceiver,
proxy *url.URL,
) *WebRTCDialer {
return NewWebRTCDialerWithNatPolicyAndEventsAndProxyAndClientID(
return newWebRTCDialerWithNatPolicyAndEventsAndProxyAndClientID(
broker,
natPolicy,
iceServers,
@ -303,7 +303,7 @@ func NewWebRTCDialerWithNatPolicyAndEventsAndProxy(
}
// NewWebRTCDialerWithNatPolicyAndEventsAndProxy constructs a new WebRTCDialer.
func NewWebRTCDialerWithNatPolicyAndEventsAndProxyAndClientID(
func newWebRTCDialerWithNatPolicyAndEventsAndProxyAndClientID(
broker *BrokerChannel,
natPolicy *NATPolicy,
iceServers []webrtc.ICEServer,