From 6bbfde080f83756f3d69ebf6989487b61c3f8a60 Mon Sep 17 00:00:00 2001 From: Dom Needham <=> Date: Tue, 12 Sep 2023 13:21:46 +0100 Subject: [PATCH] Fix lint --- src/components/WebRTCView/WebRTCView.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/WebRTCView/WebRTCView.tsx b/src/components/WebRTCView/WebRTCView.tsx index 6e9bc42..8f41126 100644 --- a/src/components/WebRTCView/WebRTCView.tsx +++ b/src/components/WebRTCView/WebRTCView.tsx @@ -64,6 +64,7 @@ export const WebRTCView = ({cameraName}: WebRTCViewProps) => { if (track) { setIsConnected(true); remoteStream.addTrack(track); + setRemoteStream(remoteStream); } };