From d1160cc7487b721bf68c9303ab5ce843bb488f7e Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Fri, 12 Jul 2019 16:08:47 -0300 Subject: Sync audio room with selectedStream. --- website/mic.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'website') diff --git a/website/mic.js b/website/mic.js index 980d450..4aa8315 100644 --- a/website/mic.js +++ b/website/mic.js @@ -16,7 +16,7 @@ var simulcastStarted = false, svcStarted = false; var selectedStream = null; -var myroom = 1234; // Demo room +var myroom = null; var myusername = null; var myid = null; var webrtcUp = false; @@ -524,6 +524,7 @@ function startStream() { spinner.spin(); } // Prepare the username registration + myroom = parseInt(selectedStream); $('#audiojoin').removeClass('hide').show(); $('#registernow').removeClass('hide').show(); $('#register').click(registerUsername); -- cgit v1.2.3