From 154254f471816551e10ca27c2a761bf06ad7edd6 Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Wed, 17 Apr 2024 09:57:31 -0700 Subject: [PATCH] Group Calls: Simplify canvas creation --- 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 cf4b1d32f..c0e6752af 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; }