LH-276: Update producer close event handler
This commit is contained in:
parent
d91fcfd584
commit
e53f4c353f
7
app.js
7
app.js
@ -338,6 +338,13 @@ peers.on('connection', async (socket) => {
|
|||||||
console.log('====================2 initiatorVideoProducer for this producer closed', callId);
|
console.log('====================2 initiatorVideoProducer for this producer closed', callId);
|
||||||
})
|
})
|
||||||
|
|
||||||
|
videoCalls[callId].initiatorVideoProducer.on('producerclose', () => {
|
||||||
|
console.log('000000000000000000000000000 producerclose initiatorVideoProducer!!!!!!!!!!!');
|
||||||
|
});
|
||||||
|
videoCalls[callId].initiatorVideoProducer.observer.on('producerclose', () => {
|
||||||
|
console.log('000000000000000000000000000 producerclose initiatorVideoProducer!!!!!!!!!!!');
|
||||||
|
});
|
||||||
|
|
||||||
// videoCalls[callId].initiatorProducerTransport.observer.on("newproducer", (producer) =>
|
// videoCalls[callId].initiatorProducerTransport.observer.on("newproducer", (producer) =>
|
||||||
// {
|
// {
|
||||||
// console.log(
|
// console.log(
|
||||||
|
Loading…
Reference in New Issue
Block a user