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

View File

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