Philipp Hancke 12 лет назад
Родитель
Сommit
87aa41de7a
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      app.js

+ 1
- 1
app.js Просмотреть файл

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

Загрузка…
Отмена
Сохранить