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 6 additions and 4 deletions
Showing only changes of commit 39efdd12b7 - Show all commits

View File

@ -20689,8 +20689,9 @@ const connectSendTransport = async () => {
// close video track
})
console.log('doIHaveAudio', doIHaveAudio);
// Video is mandatory, but audio may not be included
if (doIHaveAudio) {
// if (doIHaveAudio) {
console.log('audioParams', audioParams);
producerAudio = await producerTransport.produce(audioParams)
console.log('producerAudio', producerAudio);
@ -20703,7 +20704,7 @@ const connectSendTransport = async () => {
console.log('transport ended')
// close video track
})
}
// }
const answer = {
origin_asset_id: ASSET_ID,

View File

@ -331,8 +331,9 @@ const connectSendTransport = async () => {
// close video track
})
console.log('doIHaveAudio', doIHaveAudio);
// Video is mandatory, but audio may not be included
if (doIHaveAudio) {
// if (doIHaveAudio) {
console.log('audioParams', audioParams);
producerAudio = await producerTransport.produce(audioParams)
console.log('producerAudio', producerAudio);
@ -345,7 +346,7 @@ const connectSendTransport = async () => {
console.log('transport ended')
// close video track
})
}
// }
const answer = {
origin_asset_id: ASSET_ID,