From 8833ae6d5699c77c5376b01e4de82f728fd16415 Mon Sep 17 00:00:00 2001
From: netpro2k <netpro2k@gmail.com>
Date: Wed, 28 Mar 2018 19:41:50 -0700
Subject: [PATCH] Cleanup unused mediastream event

---
 src/room.js | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/room.js b/src/room.js
index 9c236faa4..576f61d8e 100644
--- a/src/room.js
+++ b/src/room.js
@@ -107,8 +107,6 @@ async function shareMedia(audio, video) {
     video: video ? { mediaSource: "screen", height: 720, frameRate: 30 } : false
   };
   const mediaStream = await navigator.mediaDevices.getUserMedia(constraints);
-  document.querySelector("a-scene").emit("mediaStream", { ms: mediaStream });
-
   NAF.connection.adapter.setLocalMediaStream(mediaStream);
 
   const id = `${NAF.clientId}-screen`;
-- 
GitLab