Voice chat fixes

This commit is contained in:
Ali
2020-11-30 00:56:40 +04:00
parent 0b07e34439
commit e73ef7ceef
3 changed files with 103 additions and 67 deletions

View File

@@ -497,6 +497,11 @@ public final class PresentationGroupCallImpl: PresentationGroupCall {
if let clientParams = joinCallResult.callInfo.clientParams {
strongSelf.updateSessionState(internalState: .estabilished(info: joinCallResult.callInfo, clientParams: clientParams, localSsrc: ssrc, initialState: joinCallResult.state), audioSessionControl: strongSelf.audioSessionControl)
}
}, error: { _ in
guard let strongSelf = self else {
return
}
strongSelf._canBeRemoved.set(.single(true))
}))
}))