Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Obtaining audio+video stream and closing it in order to reduce permission queries makes sense only on HTTPS sites.
paweldomasa049bcde71b9
diff --git a/app.js b/app.jsindex 134db97ca0..b76bc450fb 100644--- a/app.js+++ b/app.js@@ -63,10 +63,16 @@ function init() {}/**+ * HTTPS only:* We first ask for audio and video combined stream in order to get permissions and not to ask twice.* Then we dispose the stream and continue with separate audio, video streams(required for desktop sharing).*/function obtainAudioAndVideoPermissions(callback){+ // This makes sense only on https sites otherwise we'll be asked for permissions every time+ if(location.protocol !== 'https:') {+ callback();+ return;+ }// Get AVgetUserMediaWithConstraints(['audio', 'video'],