From dfa7400fa4edeb0588c0f92fbe9750a88b60fdb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9=20=D0=91=D0=B0=D0=B1?= =?UTF-8?q?=D1=83=D1=88=D0=BA=D0=B8=D0=BD?= Date: Mon, 14 Apr 2025 09:48:06 +0200 Subject: [PATCH] remove wrong updates --- tracker/tracker-assist/src/Assist.ts | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/tracker/tracker-assist/src/Assist.ts b/tracker/tracker-assist/src/Assist.ts index 985f71ce5..1ff1538ac 100644 --- a/tracker/tracker-assist/src/Assist.ts +++ b/tracker/tracker-assist/src/Assist.ts @@ -781,26 +781,7 @@ export default class Assist { annot.mount(); } - // callUI.setLocalStreams(Object.values(lStreams)) - try { - // if there are no local streams in lStrems then we set - if (!lStreams[from]) { - app.debug.log("starting new stream for", from); - // request a local stream, and set it to lStreams - lStreams[from] = await RequestLocalStream( - pc, - renegotiateConnection.bind(null, { pc, from }) - ); - } - // we pass the received tracks to Call ui - callUI.setLocalStreams(Object.values(lStreams)); - } catch (e) { - app.debug.error("Error requesting local stream", e); - // if something didn't work out, we terminate the call - initiateCallEnd(); - return; - } - + // get all local tracks and add them to RTCPeerConnection // When we receive local ice candidates, we emit them via socket pc.onicecandidate = (event) => {