diff options
author | Jonas Smedegaard <dr@jones.dk> | 2019-07-12 23:53:38 -0300 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2019-07-12 23:53:38 -0300 |
commit | 40e80ace71cf9a650ae8f1e4cfb6f972a101c088 (patch) | |
tree | 2d8e3eeb52e1ebca404fb5d387cd652825e7bcbe | |
parent | 079255cda05a462aae480672d14cb59f0fa24015 (diff) |
Mute by default.
-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"> |