Skip to content

Commit 3dfb684

Browse files
authored
Remove hardcoded iceServers defaults (#213)
1 parent b55fa58 commit 3dfb684

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Sources/LiveKit/Extensions/RTCConfiguration.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ import WebRTC
1919

2020
extension RTCConfiguration {
2121

22-
public static let defaultIceServers = ["stun:stun.l.google.com:19302",
23-
"stun:stun1.l.google.com:19302"]
24-
2522
public static func liveKitDefault() -> RTCConfiguration {
2623

2724
let result = DispatchQueue.webRTC.sync { RTCConfiguration() }
@@ -31,8 +28,6 @@ extension RTCConfiguration {
3128
result.tcpCandidatePolicy = .enabled
3229
result.iceTransportPolicy = .all
3330

34-
result.iceServers = [ DispatchQueue.webRTC.sync { RTCIceServer(urlStrings: defaultIceServers) } ]
35-
3631
return result
3732
}
3833

0 commit comments

Comments
 (0)