Commit d4a63a95 by Иван Кубота

more permissions

parent e5228523
......@@ -409,7 +409,21 @@ Screen.Conference = function() {
}catch(error){
console.log('Got error :', error);
}
try{
await new Promise(((resolve, reject) => {
navigator.mediaDevices.getUserMedia( { video: { width: 1280, height: 720 } } )
.then( function( stream ){
resolve();
} )
.catch( function( err ){
reject(err);
/* handle the error */
} );
}));
}catch( e ){
console.log('Got error :', e);
}
navigator.mediaDevices.enumerateDevices().then(gotDevices).catch(handleError);
var soundDisablerID = setInterval(function() {
......
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