Use a much lower thrshold to detect no sound

the previous -40 triggered far too much false positives
master
Daniel Berteaud 11 years ago
parent c91b515e2c
commit 806ec1d443
  1. 2
      public/js/vroom.js

@ -957,7 +957,7 @@ function initVroom(room) {
webrtc.on('joinedRoom', function(){ webrtc.on('joinedRoom', function(){
// Check if sound is detected and warn if it hasn't // Check if sound is detected and warn if it hasn't
setTimeout(function (){ setTimeout(function (){
if (maxVol < -40){ if (maxVol < -60){
$.notify(locale.NO_SOUND_DETECTED, { $.notify(locale.NO_SOUND_DETECTED, {
className: 'error', className: 'error',
autoHide: false autoHide: false

Loading…
Cancel
Save