diff --git a/app.js b/app.js index 72ff8600b..d14f28c33 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 {