LH-265-enable-audio-in-mediasoup #16

Closed
sergiu wants to merge 120 commits from LH-265-enable-audio-in-mediasoup into master
2 changed files with 44 additions and 36 deletions
Showing only changes of commit ac8c651a9d - Show all commits

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 => {