p2pcf
p2pcf copied to clipboard
Listen for a stream removed
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