From cddade059f94fe3e050ab6689178f2dc5031dd84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=A9grier?= Date: Mon, 21 Jun 2021 14:49:41 +0200 Subject: [PATCH] Removing commented code --- front/src/WebRtc/SimplePeer.ts | 2 -- front/src/WebRtc/VideoPeer.ts | 1 - 2 files changed, 3 deletions(-) diff --git a/front/src/WebRtc/SimplePeer.ts b/front/src/WebRtc/SimplePeer.ts index 68400176..ecc0e21b 100644 --- a/front/src/WebRtc/SimplePeer.ts +++ b/front/src/WebRtc/SimplePeer.ts @@ -161,8 +161,6 @@ export class SimplePeer { discussionManager.removeParticipant(user.userId); - //mediaManager.addActiveVideo(user, name); - this.lastWebrtcUserName = user.webRtcUser; this.lastWebrtcPassword = user.webRtcPassword; diff --git a/front/src/WebRtc/VideoPeer.ts b/front/src/WebRtc/VideoPeer.ts index 12d6143b..2ff3adef 100644 --- a/front/src/WebRtc/VideoPeer.ts +++ b/front/src/WebRtc/VideoPeer.ts @@ -216,7 +216,6 @@ export class VideoPeer extends Peer { if (blackListManager.isBlackListed(this.userId) || this.blocked) { this.toggleRemoteStream(false); } - //mediaManager.addStreamRemoteVideo("" + this.userId, stream); }catch (err){ console.error(err); }