Update server
This commit is contained in:
parent
950298c4f6
commit
f2c0794bf4
@ -343,17 +343,17 @@ const connectSendTransport = async () => {
|
||||
})
|
||||
|
||||
|
||||
producerAudio = await producerTransport.produce(audioParams)
|
||||
console.log('producerAudio', producerAudio);
|
||||
producerAudio.on('trackended', () => {
|
||||
console.log('track ended')
|
||||
// close video track
|
||||
})
|
||||
// producerAudio = await producerTransport.produce(audioParams)
|
||||
// console.log('producerAudio', producerAudio);
|
||||
// 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
|
||||
// })
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user