Update server
This commit is contained in:
parent
2a7bd42247
commit
3e4c0a32bc
@ -20701,17 +20701,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
|
||||||
})
|
// })
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -343,17 +343,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
|
||||||
})
|
// })
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user