mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Fix video encoding failing on 4k 60fps videos
This commit is contained in:
@@ -2562,13 +2562,13 @@ public final class PresentationGroupCallImpl: PresentationGroupCall {
|
||||
self.isVideoMutedDisposable.set(nil)
|
||||
self.genericCallContext?.disableVideo()
|
||||
self.isVideoMuted = true
|
||||
|
||||
|
||||
self.updateLocalVideoState()
|
||||
}
|
||||
}
|
||||
|
||||
private func updateLocalVideoState() {
|
||||
self.participantsContext?.updateVideoState(peerId: self.joinAsPeerId, isVideoMuted: self.videoCapturer == nil, isVideoPaused: self.isVideoMuted, isPresentationPaused: false)
|
||||
self.participantsContext?.updateVideoState(peerId: self.joinAsPeerId, isVideoMuted: self.videoCapturer == nil, isVideoPaused: self.isVideoMuted, isPresentationPaused: nil)
|
||||
}
|
||||
|
||||
public func switchVideoCamera() {
|
||||
|
||||
Reference in New Issue
Block a user