Video Chat Improvements

This commit is contained in:
Ilya Laktyushin
2021-06-10 15:34:33 +03:00
parent 664b2bc15e
commit a34bb55b7e
5 changed files with 124 additions and 28 deletions

View File

@@ -2556,6 +2556,7 @@ public final class PresentationGroupCallImpl: PresentationGroupCall {
public func disableVideo() {
self.hasVideo = false
self.useFrontCamera = true;
if let _ = self.videoCapturer {
self.videoCapturer = nil
self.isVideoMutedDisposable.set(nil)