Update server

This commit is contained in:
Sergiu Toma 2022-11-29 03:44:02 +02:00
parent 39efdd12b7
commit 7a2d02dcda
2 changed files with 2 additions and 2 deletions

View File

@ -20539,7 +20539,7 @@ const getLocalStream = () => {
// If it is the first time client enter and give permission
permissionStatus.onchange = function() {
console.log('🟨 [PERMISSION] onchange', this.state);
if (this.state === 'grated') {
if (this.state === 'granted') {
doIHaveAudio = true;
}
}

View File

@ -181,7 +181,7 @@ const getLocalStream = () => {
// If it is the first time client enter and give permission
permissionStatus.onchange = function() {
console.log('🟨 [PERMISSION] onchange', this.state);
if (this.state === 'grated') {
if (this.state === 'granted') {
doIHaveAudio = true;
}
}