Skip to content

Commit

Permalink
Group Calls: Simplify canvas creation
Browse files Browse the repository at this point in the history
  • Loading branch information
scottnonnenberg-signal committed Apr 17, 2024
1 parent df234d3 commit 154254f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ts/components/GroupCallRemoteParticipant.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -460,11 +460,7 @@ export const GroupCallRemoteParticipant: React.FC<PropsType> = 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;
}
Expand Down

0 comments on commit 154254f

Please sign in to comment.