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 46 additions and 46 deletions
Showing only changes of commit 9111c4e245 - Show all commits

View File

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

View File

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