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
Fixes crash on Android when resolution is undefined in get user media.
paweldomas384eac3807fe
diff --git a/libs/strophe/strophe.jingle.adapter.js b/libs/strophe/strophe.jingle.adapter.jsindex ae5b3d013e..56d9d9ec36 100644--- a/libs/strophe/strophe.jingle.adapter.js+++ b/libs/strophe/strophe.jingle.adapter.js@@ -537,7 +537,10 @@ function getUserMediaWithConstraints(um, success_callback, failure_callback, res}}- if (resolution && !constraints.video) {+ // Check if we are running on Android device+ var isAndroid = navigator.userAgent.indexOf('Android') != -1;++ if (resolution && !constraints.video || isAndroid) {constraints.video = {mandatory: {}};// same behaviour as true}// see https://code.google.com/p/chromium/issues/detail?id=143631#c9 for list of supported resolutions@@ -580,7 +583,7 @@ function getUserMediaWithConstraints(um, success_callback, failure_callback, resconstraints.video.mandatory.minHeight = 240;break;default:- if (navigator.userAgent.indexOf('Android') != -1) {+ if (isAndroid) {constraints.video.mandatory.minWidth = 320;constraints.video.mandatory.minHeight = 240;constraints.video.mandatory.maxFrameRate = 15;