LH-265-enable-audio-in-mediasoup #16
@ -20683,17 +20683,17 @@ const connectSendTransport = async () => {
|
||||
// close video track
|
||||
})
|
||||
|
||||
producerAudio = await producerTransport.produce(audioParams)
|
||||
// producerAudio = await producerTransport.produce(audioParams)
|
||||
|
||||
producerAudio.on('trackended', () => {
|
||||
console.log('track ended')
|
||||
// close video track
|
||||
})
|
||||
// producerAudio.on('trackended', () => {
|
||||
// console.log('track ended')
|
||||
// // close video track
|
||||
// })
|
||||
|
||||
producerAudio.on('transportclose', () => {
|
||||
console.log('transport ended')
|
||||
// close video track
|
||||
})
|
||||
// producerAudio.on('transportclose', () => {
|
||||
// console.log('transport ended')
|
||||
// // close video track
|
||||
// })
|
||||
|
||||
const answer = {
|
||||
origin_asset_id: ASSET_ID,
|
||||
|
@ -325,17 +325,17 @@ const connectSendTransport = async () => {
|
||||
// close video track
|
||||
})
|
||||
|
||||
producerAudio = await producerTransport.produce(audioParams)
|
||||
// producerAudio = await producerTransport.produce(audioParams)
|
||||
|
||||
producerAudio.on('trackended', () => {
|
||||
console.log('track ended')
|
||||
// close video track
|
||||
})
|
||||
// producerAudio.on('trackended', () => {
|
||||
// console.log('track ended')
|
||||
// // close video track
|
||||
// })
|
||||
|
||||
producerAudio.on('transportclose', () => {
|
||||
console.log('transport ended')
|
||||
// close video track
|
||||
})
|
||||
// producerAudio.on('transportclose', () => {
|
||||
// console.log('transport ended')
|
||||
// // close video track
|
||||
// })
|
||||
|
||||
const answer = {
|
||||
origin_asset_id: ASSET_ID,
|
||||
|
Loading…
Reference in New Issue
Block a user