diff options
-rw-r--r-- | website/mic.js | 4 | ||||
-rw-r--r-- | website/mic/index.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/website/mic.js b/website/mic.js index 4b87615..e6a8b9c 100644 --- a/website/mic.js +++ b/website/mic.js @@ -282,7 +282,7 @@ $(document).ready(function() { success: function(jsep) { Janus.debug("Got SDP!"); Janus.debug(jsep); - var publish = { "request": "configure", "muted": false }; + var publish = { "request": "configure", "muted": true }; mixertest.send({"message": publish, "jsep": jsep}); }, error: function(error) { @@ -430,7 +430,7 @@ $(document).ready(function() { if(!addButtons) return; // Mute button - audioenabled = true; + audioenabled = false; $('#toggleaudio').click( function() { audioenabled = !audioenabled; diff --git a/website/mic/index.html b/website/mic/index.html index a7bbd00..310731f 100644 --- a/website/mic/index.html +++ b/website/mic/index.html @@ -84,7 +84,7 @@ <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title">Participants <span class="label label-info hide" id="participant"></span> - <button class="btn-xs btn-danger hide pull-right" autocomplete="off" id="toggleaudio">Mute</button></h3> + <button class="btn-xs btn-success hide pull-right" autocomplete="off" id="toggleaudio">Unmute</button></h3> </div> <div class="panel-body"> <ul id="list" class="list-group"> |