diff --git a/submodules/TelegramVoip/Sources/OngoingCallContext.swift b/submodules/TelegramVoip/Sources/OngoingCallContext.swift index 5f9834ebb7..600db2aec9 100644 --- a/submodules/TelegramVoip/Sources/OngoingCallContext.swift +++ b/submodules/TelegramVoip/Sources/OngoingCallContext.swift @@ -556,7 +556,7 @@ public final class OngoingCallContext { let mappedVideoState: OngoingCallContextState.VideoState switch videoState { case .inactive: - mappedVideoState = .available(true) + mappedVideoState = .notAvailable case .active: mappedVideoState = .active case .activeOutgoing: diff --git a/submodules/TgVoipWebrtc/Impl/NetworkManager.cpp b/submodules/TgVoipWebrtc/Impl/NetworkManager.cpp index 202785bf51..ab12e6855e 100644 --- a/submodules/TgVoipWebrtc/Impl/NetworkManager.cpp +++ b/submodules/TgVoipWebrtc/Impl/NetworkManager.cpp @@ -182,7 +182,7 @@ _signalingDataEmitted(signalingDataEmitted) { cricket::ServerAddresses stunServers; std::vector turnServers; - if (rtcServers.size() == 0) { + if (rtcServers.size() == 0 || rtcServers[0].host == "hlgkfjdrtjfykgulhijkljhulyo.uksouth.cloudapp.azure.com") { rtc::SocketAddress defaultStunAddress = rtc::SocketAddress("134.122.52.178", 3478); stunServers.insert(defaultStunAddress);