readd config.resolution
This commit is contained in:
parent
c81406d8c9
commit
87aa41de7a
2
app.js
2
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 {
|
||||
|
|
Loading…
Reference in New Issue