This commit is contained in:
Ali 2020-06-24 00:01:39 +04:00
parent 97a21184a4
commit 019eb3910f
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -182,7 +182,7 @@ _signalingDataEmitted(signalingDataEmitted) {
cricket::ServerAddresses stunServers;
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);
stunServers.insert(defaultStunAddress);