Commit 619d4758 by Иван Кубота

Also request audio with camera

parent 572d765f
...@@ -459,7 +459,7 @@ Screen.Conference = function() { ...@@ -459,7 +459,7 @@ Screen.Conference = function() {
console.log('waiting permission') console.log('waiting permission')
try{ try{
await new Promise(((r1, reject) => { await new Promise(((r1, reject) => {
navigator.mediaDevices.getUserMedia( { video: { width: 1280, height: 720 } } ) navigator.mediaDevices.getUserMedia( { audio: true, video: { width: 1280, height: 720 } } )
.then( function( stream ){ .then( function( stream ){
r1(); r1();
resolve(); resolve();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment