|
|
@ -911,8 +911,10 @@ protocol CallServiceObserver: class {
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if call.state == .connected {
|
|
|
|
peerConnectionClient.setAudioEnabled(enabled: !isMuted)
|
|
|
|
peerConnectionClient.setAudioEnabled(enabled: !isMuted)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Local user toggled video.
|
|
|
|
* Local user toggled video.
|
|
|
@ -966,8 +968,10 @@ protocol CallServiceObserver: class {
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if call.state == .connected {
|
|
|
|
peerConnectionClient.setLocalVideoEnabled(enabled: shouldHaveLocalVideoTrack())
|
|
|
|
peerConnectionClient.setLocalVideoEnabled(enabled: shouldHaveLocalVideoTrack())
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func handleCallKitStartVideo() {
|
|
|
|
func handleCallKitStartVideo() {
|
|
|
|
AssertIsOnMainThread()
|
|
|
|
AssertIsOnMainThread()
|
|
|
|