From 592e1b8936934660bfb37a4e2f34b97ef4f017ea Mon Sep 17 00:00:00 2001 From: Erik Hellman Date: Fri, 21 Feb 2020 11:31:04 +0100 Subject: [PATCH] Add missing comment from codelab instructions The comment mentioned in the codelab was missing. See https://github.com/webrtc/FirebaseRTC/issues/3 for details --- public/app.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/app.js b/public/app.js index 4e3b4d6..c251bcb 100644 --- a/public/app.js +++ b/public/app.js @@ -37,6 +37,10 @@ async function createRoom() { registerPeerConnectionListeners(); + // Add code for creating a room here + + // Code for creating room above + localStream.getTracks().forEach(track => { peerConnection.addTrack(track, localStream); });