p2pcf icon indicating copy to clipboard operation
p2pcf copied to clipboard

Listen for a stream removed

Open JoseIsra opened this issue 2 years ago • 0 comments

HI, I can see according to the examples that the "addStream" method works when you are starting your camera and this event is listened to thanks the "track" event like : "p2pcf.on('track', ..etc)" . My question is what is the event or how can i handle the event when a user turns off the camera. I have tried with the "removeStream" method but it's not working. Maybe i missing something. Thank you so much

JoseIsra avatar Feb 14 '23 20:02 JoseIsra