Reduce volume of MoH

Fix #49
master
Daniel Berteaud 11 years ago
parent 094bcbae2e
commit d780a63c41
  1. 3
      public/js/vroom.js

@ -673,7 +673,8 @@ function initVroom(room) {
setTimeout(function(){ setTimeout(function(){
if (!moh && Object.keys(peers).length < 2){ if (!moh && Object.keys(peers).length < 2){
if (!$('#pauseMohButton').is(':checked')){ if (!$('#pauseMohButton').is(':checked')){
$('#mohPlayer')[0].play(); $('#mohPlayer').get(0).volume = .25;
$('#mohPlayer').get(0).play();
moh = true; moh = true;
} }
$('.aloneEl').show(200); $('.aloneEl').show(200);

Loading…
Cancel
Save