Browse Source

readd config.resolution

master
Philipp Hancke 11 years ago
parent
commit
87aa41de7a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app.js

+ 1
- 1
app.js View File

@@ -46,7 +46,7 @@ function init() {
46 46
             if (RTC.browser == 'firefox') {
47 47
                 getUserMediaWithConstraints(['audio']);
48 48
             } else {
49
-                getUserMediaWithConstraints(['audio', 'video'], '360');
49
+                getUserMediaWithConstraints(['audio', 'video'], config.resolution || '360');
50 50
             }
51 51
             document.getElementById('connect').disabled = true;
52 52
         } else {

Loading…
Cancel
Save