From a429101e8a184adc05d8ca2141d15efb662ab87a Mon Sep 17 00:00:00 2001 From: automated-signal <37887102+automated-signal@users.noreply.github.com> Date: Wed, 17 Apr 2024 12:19:12 -0500 Subject: [PATCH] Group Calls: Simplify canvas creation Co-authored-by: Scott Nonnenberg --- ts/components/GroupCallRemoteParticipant.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ts/components/GroupCallRemoteParticipant.tsx b/ts/components/GroupCallRemoteParticipant.tsx index cf4b1d32f9..c0e6752aff 100644 --- a/ts/components/GroupCallRemoteParticipant.tsx +++ b/ts/components/GroupCallRemoteParticipant.tsx @@ -460,11 +460,7 @@ export const GroupCallRemoteParticipant: React.FC = React.memo( ref={canvasEl => { remoteVideoRef.current = canvasEl; if (canvasEl) { - canvasContextRef.current = canvasEl.getContext('2d', { - alpha: false, - desynchronized: true, - storage: 'discardable', - } as CanvasRenderingContext2DSettings); + canvasContextRef.current = canvasEl.getContext('2d'); } else { canvasContextRef.current = null; }