Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

allow config.resolution for specifying resolution

Philipp Hancke778e6e01376a
diff --git a/app.js b/app.js
index 1e45568cd0..a877ee62f8 100644
--- a/app.js
+++ b/app.js
@@ -46,7 +46,7 @@ function init() {
if (RTC.browser == 'firefox') {
getUserMediaWithConstraints(['audio']);
} else {
- getUserMediaWithConstraints(['audio', 'video'], '360');
+ getUserMediaWithConstraints(['audio', 'video'], config.resolution || '360');
}
document.getElementById('connect').disabled = true;
} else {