LH-265-enable-audio-in-mediasoup #16
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user