mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-04 10:30:42 +00:00
Fix UI
This commit is contained in:
parent
97a21184a4
commit
019eb3910f
@ -556,7 +556,7 @@ public final class OngoingCallContext {
|
|||||||
let mappedVideoState: OngoingCallContextState.VideoState
|
let mappedVideoState: OngoingCallContextState.VideoState
|
||||||
switch videoState {
|
switch videoState {
|
||||||
case .inactive:
|
case .inactive:
|
||||||
mappedVideoState = .available(true)
|
mappedVideoState = .notAvailable
|
||||||
case .active:
|
case .active:
|
||||||
mappedVideoState = .active
|
mappedVideoState = .active
|
||||||
case .activeOutgoing:
|
case .activeOutgoing:
|
||||||
|
@ -182,7 +182,7 @@ _signalingDataEmitted(signalingDataEmitted) {
|
|||||||
cricket::ServerAddresses stunServers;
|
cricket::ServerAddresses stunServers;
|
||||||
std::vector<cricket::RelayServerConfig> turnServers;
|
std::vector<cricket::RelayServerConfig> 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);
|
rtc::SocketAddress defaultStunAddress = rtc::SocketAddress("134.122.52.178", 3478);
|
||||||
stunServers.insert(defaultStunAddress);
|
stunServers.insert(defaultStunAddress);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user