mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-08 19:10:53 +00:00
Remove debugging
This commit is contained in:
parent
b608b9e236
commit
81b68449c7
@ -79,11 +79,11 @@ private func callConnectionDescriptionsWebrtc(_ connection: CallSessionConnectio
|
||||
guard let id = idMapping[reflector.id] else {
|
||||
return []
|
||||
}
|
||||
#if DEBUG
|
||||
/*#if DEBUG
|
||||
if id != 1 {
|
||||
return []
|
||||
}
|
||||
#endif
|
||||
#endif*/
|
||||
var result: [OngoingCallConnectionDescriptionWebrtc] = []
|
||||
if !reflector.ip.isEmpty {
|
||||
result.append(OngoingCallConnectionDescriptionWebrtc(reflectorId: id, hasStun: false, hasTurn: true, hasTcp: reflector.isTcp, ip: reflector.ip, port: reflector.port, username: "reflector", password: hexString(reflector.peerTag)))
|
||||
@ -93,11 +93,11 @@ private func callConnectionDescriptionsWebrtc(_ connection: CallSessionConnectio
|
||||
}
|
||||
return result
|
||||
case let .webRtcReflector(reflector):
|
||||
#if DEBUG
|
||||
/*#if DEBUG
|
||||
if "".isEmpty {
|
||||
return []
|
||||
}
|
||||
#endif
|
||||
#endif*/
|
||||
var result: [OngoingCallConnectionDescriptionWebrtc] = []
|
||||
if !reflector.ip.isEmpty {
|
||||
result.append(OngoingCallConnectionDescriptionWebrtc(reflectorId: 0, hasStun: reflector.hasStun, hasTurn: reflector.hasTurn, hasTcp: false, ip: reflector.ip, port: reflector.port, username: reflector.username, password: reflector.password))
|
||||
|
Loading…
x
Reference in New Issue
Block a user