Video improvements

This commit is contained in:
Ali
2020-07-03 21:25:36 +04:00
parent c8c1c96f16
commit b542dc3fd7
44 changed files with 1097 additions and 613 deletions

View File

@@ -178,8 +178,8 @@ public final class CallController: ViewController {
let _ = self?.call.hangUp()
}
self.controllerNode.toggleVideo = { [weak self] in
let _ = self?.call.setEnableVideo(true)
self.controllerNode.setIsVideoPaused = { [weak self] isPaused in
self?.call.setOutgoingVideoIsPaused(isPaused)
}
self.controllerNode.back = { [weak self] in