diff options
author | Jonas Smedegaard <dr@jones.dk> | 2019-07-12 16:08:47 -0300 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2019-07-12 16:08:47 -0300 |
commit | d1160cc7487b721bf68c9303ab5ce843bb488f7e (patch) | |
tree | 537b4f2886d9b238c1521253fd0d9c499da3b42b | |
parent | b8c856767b4d1789d2ff543a0cb662b83f1b0a8b (diff) |
Sync audio room with selectedStream.
-rw-r--r-- | website/mic.js | 3 |
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); |