This commit is contained in:
Ilya Yelagov 2023-01-08 17:54:44 +04:00
parent e84b49e081
commit fc35f2e2fe

View File

@ -469,7 +469,6 @@ final class MediaStreamVideoComponent: Component {
if videoView.bounds.size.width > 0,
videoView.alpha > 0,
self.hadVideo,
// TODO: remove from here and move to call end (or at least to background)
let snapshot = videoView.snapshotView(afterScreenUpdates: false) ?? videoView.snapshotView(afterScreenUpdates: true) {
lastFrame[component.call.peerId.id.description] = snapshot
}