From 87aa41de7a571922a877e5bdf9902f9ed9fe51a5 Mon Sep 17 00:00:00 2001 From: Philipp Hancke Date: Thu, 6 Feb 2014 19:58:48 +0100 Subject: [PATCH] readd config.resolution --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {