From bf93768a5049ec680b801e466cd50f005d67d452 Mon Sep 17 00:00:00 2001 From: talksik Date: Thu, 19 May 2022 09:13:17 -0500 Subject: [PATCH] Update StreamProvider.tsx --- packages/desktop/src/providers/StreamProvider.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/desktop/src/providers/StreamProvider.tsx b/packages/desktop/src/providers/StreamProvider.tsx index 514effc..ec657c2 100644 --- a/packages/desktop/src/providers/StreamProvider.tsx +++ b/packages/desktop/src/providers/StreamProvider.tsx @@ -80,6 +80,8 @@ export function StreamProvider({ children }: { children: React.ReactChild }) { ); }); + // !adding stream here causes race condition of the signal event just running over and over again + // see if I have a stream for this channel or line // create one if not, and add to stream // navigator.mediaDevices