diff --git a/public/js/vroom.js b/public/js/vroom.js index f41b1c4..e740ede 100644 --- a/public/js/vroom.js +++ b/public/js/vroom.js @@ -1822,7 +1822,12 @@ function initVroom(room) { // error opening the webcam or mic stream webrtc.on('localMediaError', function(){ - $('#no-webcam-msg').slideDown(); + $('#no-media-msg').slideDown(); + // If video is disabled but we still have an error + // it means mic isn't available + if (!video){ + $('#connecting-msg').slideUp(); + } }); // Handle video stream removed: someone leaved the room diff --git a/templates/default/join.html.ep b/templates/default/join.html.ep index 4d93345..3784091 100644 --- a/templates/default/join.html.ep +++ b/templates/default/join.html.ep @@ -227,7 +227,24 @@

-