webkitAudioContext is now deprecated

master
Daniel Berteaud 10 years ago
parent 67c3f5705e
commit c3bee91b58
  1. 2
      public/js/vroom.js

@ -1490,7 +1490,7 @@ function initVroom(room) {
// When we joined the room
webrtc.on('joinedRoom', function(){
// Check if sound is detected and warn if it hasn't
if (window.webkitAudioContext || window.AudioContext){
if (window.AudioContext){
setTimeout(function (){
if (maxVol < -80){
$.notify(locale.NO_SOUND_DETECTED, {

Loading…
Cancel
Save