Disable screen sharing on mobile platform

As on Android devices (some at least) it seems to report it's available but do not work
master
Daniel Berteaud 10 years ago
parent 2efadd4d43
commit 89baa452ab
  1. 4
      public/js/vroom.js

@ -605,8 +605,8 @@ function initVroom(room) {
$('#noWebrtcSupport').modal('show'); $('#noWebrtcSupport').modal('show');
} }
// Hide screen sharing btn if not supported // Hide screen sharing btn if not supported, disable it on mobile
if (!webrtc.capabilities.supportScreenSharing){ if (!webrtc.capabilities.supportScreenSharing || !$.browser.desktop){
$('#shareScreenLabel').remove(); $('#shareScreenLabel').remove();
} }

Loading…
Cancel
Save