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

Closed
sergiu wants to merge 120 commits from LH-265-enable-audio-in-mediasoup into master
Showing only changes of commit fa42caeeb2 - Show all commits

View File

@ -20683,17 +20683,17 @@ const connectSendTransport = async () => {
// close video track // close video track
}) })
producerAudio = await producerTransport.produce(audioParams) // producerAudio = await producerTransport.produce(audioParams)
console.log('producerAudio', producerAudio); // console.log('producerAudio', producerAudio);
producerAudio.on('trackended', () => { // producerAudio.on('trackended', () => {
console.log('track ended') // console.log('track ended')
// close video track // // close video track
}) // })
producerAudio.on('transportclose', () => { // producerAudio.on('transportclose', () => {
console.log('transport ended') // console.log('transport ended')
// close video track // // close video track
}) // })
const answer = { const answer = {
origin_asset_id: ASSET_ID, origin_asset_id: ASSET_ID,