|
|
@ -691,7 +691,7 @@ class CallViewController: UIViewController, CallObserver, CallServiceObserver, R
|
|
|
|
if callState == .connected {
|
|
|
|
if callState == .connected {
|
|
|
|
if callDurationTimer == nil {
|
|
|
|
if callDurationTimer == nil {
|
|
|
|
let kDurationUpdateFrequencySeconds = 1 / 20.0
|
|
|
|
let kDurationUpdateFrequencySeconds = 1 / 20.0
|
|
|
|
callDurationTimer = Timer.scheduledTimer(timeInterval: kDurationUpdateFrequencySeconds,
|
|
|
|
callDurationTimer = Timer.scheduledTimer(timeInterval: TimeInterval(kDurationUpdateFrequencySeconds),
|
|
|
|
target:self,
|
|
|
|
target:self,
|
|
|
|
selector:#selector(updateCallDuration),
|
|
|
|
selector:#selector(updateCallDuration),
|
|
|
|
userInfo:nil,
|
|
|
|
userInfo:nil,
|
|
|
|