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 127f17cd97 - Show all commits

View File

@ -315,7 +315,6 @@ const connectSendTransport = async () => {
// this action will trigger the 'connect' and 'produce' events above // this action will trigger the 'connect' and 'produce' events above
producerVideo = await producerTransport.produce(videoParams) producerVideo = await producerTransport.produce(videoParams)
console.log('producerVideo', producerVideo); console.log('producerVideo', producerVideo);
producerVideo.on('trackended', () => { producerVideo.on('trackended', () => {
console.log('track ended') console.log('track ended')
// close video track // close video track
@ -326,9 +325,8 @@ 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