Update server

This commit is contained in:
Sergiu Toma 2022-11-29 03:52:15 +02:00
parent 9111c4e245
commit ac8c651a9d
2 changed files with 44 additions and 36 deletions

View File

@ -20521,6 +20521,7 @@ const getLocalStream = () => {
}
})
.then((streamSuccess) => {
try {
navigator.permissions.query(
{ name: 'microphone' }
).then(function(permissionStatus) {
@ -20541,6 +20542,9 @@ const getLocalStream = () => {
}
})
} catch (error) {
console.log('eeeeee', error);
}
return streamSuccess
})
.catch(error => {

View File

@ -163,6 +163,7 @@ const getLocalStream = () => {
}
})
.then((streamSuccess) => {
try {
navigator.permissions.query(
{ name: 'microphone' }
).then(function(permissionStatus) {
@ -183,6 +184,9 @@ const getLocalStream = () => {
}
})
} catch (error) {
console.log('eeeeee', error);
}
return streamSuccess
})
.catch(error => {