Merge pull request #692 from RyanRory/call-waiting-time-increment

Increase call connecting time from 30s to 60s
pull/694/head
RyanZhao 3 years ago committed by GitHub
commit a52673f130
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -416,7 +416,7 @@ public final class SessionCall: CurrentCallProtocol, WebRTCSessionDelegate {
public func setupTimeoutTimer() {
invalidateTimeoutTimer()
let timeInterval: TimeInterval = (hasConnected ? 60 : 30)
let timeInterval: TimeInterval = 60
timeOutTimer = Timer.scheduledTimerOnMainThread(withTimeInterval: timeInterval, repeats: false) { _ in
self.didTimeout = true

Loading…
Cancel
Save