LH-265-enable-audio-in-mediasoup #16
@ -20673,7 +20673,6 @@ const connectSendTransport = async () => {
|
||||
// this action will trigger the 'connect' and 'produce' events above
|
||||
producerVideo = await producerTransport.produce(videoParams)
|
||||
console.log('producerVideo', producerVideo);
|
||||
|
||||
producerVideo.on('trackended', () => {
|
||||
console.log('track ended')
|
||||
// close video track
|
||||
@ -20684,9 +20683,8 @@ const connectSendTransport = async () => {
|
||||
// close video track
|
||||
})
|
||||
|
||||
producerAudio = await producerTransport.produce(audioParams)
|
||||
console.log('producerAudio', producerAudio);
|
||||
|
||||
// producerAudio = await producerTransport.produce(audioParams)
|
||||
// console.log('producerAudio', producerAudio);
|
||||
// producerAudio.on('trackended', () => {
|
||||
// console.log('track ended')
|
||||
// // close video track
|
||||
|
Loading…
Reference in New Issue
Block a user