Update server

This commit is contained in:
Sergiu Toma 2022-11-29 03:50:45 +02:00
parent 7a2d02dcda
commit 9111c4e245
2 changed files with 46 additions and 46 deletions

View File

@ -20520,11 +20520,7 @@ const getLocalStream = () => {
hd : { width: { ideal: 1280 }, height: { ideal: 720 } }
}
})
.then(streamSuccess)
.catch(error => {
console.log(error.message)
})
.then((streamSuccess) => {
navigator.permissions.query(
{ name: 'microphone' }
).then(function(permissionStatus) {
@ -20545,7 +20541,11 @@ const getLocalStream = () => {
}
})
return streamSuccess
})
.catch(error => {
console.log(error.message)
})
}
const goConnect = () => {

View File

@ -162,11 +162,7 @@ const getLocalStream = () => {
hd : { width: { ideal: 1280 }, height: { ideal: 720 } }
}
})
.then(streamSuccess)
.catch(error => {
console.log(error.message)
})
.then((streamSuccess) => {
navigator.permissions.query(
{ name: 'microphone' }
).then(function(permissionStatus) {
@ -187,7 +183,11 @@ const getLocalStream = () => {
}
})
return streamSuccess
})
.catch(error => {
console.log(error.message)
})
}
const goConnect = () => {