aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--website/mic.js3
1 files changed, 2 insertions, 1 deletions
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);