From 8de2775608e8c5eb29dcc9a5a39dc96bbe9c6224 Mon Sep 17 00:00:00 2001 From: Ali <> Date: Sat, 22 May 2021 16:27:59 +0400 Subject: [PATCH 1/2] Temporarily roll back sample buffer renderer --- .../TgVoipWebrtc/Sources/OngoingCallThreadLocalContext.mm | 2 +- submodules/TgVoipWebrtc/tgcalls | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/submodules/TgVoipWebrtc/Sources/OngoingCallThreadLocalContext.mm b/submodules/TgVoipWebrtc/Sources/OngoingCallThreadLocalContext.mm index 059dfd2fb7..b739e28fa2 100644 --- a/submodules/TgVoipWebrtc/Sources/OngoingCallThreadLocalContext.mm +++ b/submodules/TgVoipWebrtc/Sources/OngoingCallThreadLocalContext.mm @@ -1272,7 +1272,7 @@ private: id queue = _queue; dispatch_async(dispatch_get_main_queue(), ^{ if ([VideoMetalView isSupported]) { - VideoSampleBufferView *remoteRenderer = [[VideoSampleBufferView alloc] initWithFrame:CGRectZero]; + VideoMetalView *remoteRenderer = [[VideoMetalView alloc] initWithFrame:CGRectZero]; #if TARGET_OS_IPHONE remoteRenderer.videoContentMode = UIViewContentModeScaleToFill; #else diff --git a/submodules/TgVoipWebrtc/tgcalls b/submodules/TgVoipWebrtc/tgcalls index 75eec7a938..71aba0cdd9 160000 --- a/submodules/TgVoipWebrtc/tgcalls +++ b/submodules/TgVoipWebrtc/tgcalls @@ -1 +1 @@ -Subproject commit 75eec7a93832688e87d9134e4a314393009ad38f +Subproject commit 71aba0cdd9d13fba263762d9f0e84091c0464084 From 992b3f5ab1b28ccea4d7e8e7da77df2f053bf015 Mon Sep 17 00:00:00 2001 From: Ali <> Date: Sat, 22 May 2021 16:29:21 +0400 Subject: [PATCH 2/2] Update tgcalls --- submodules/TgVoipWebrtc/tgcalls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/TgVoipWebrtc/tgcalls b/submodules/TgVoipWebrtc/tgcalls index 71aba0cdd9..3842c7b657 160000 --- a/submodules/TgVoipWebrtc/tgcalls +++ b/submodules/TgVoipWebrtc/tgcalls @@ -1 +1 @@ -Subproject commit 71aba0cdd9d13fba263762d9f0e84091c0464084 +Subproject commit 3842c7b657ee972b893e249ee3366c00e48e4ef8