In this video I demonstrate how to handle a user leaving a webrtc simple peer group video chat. In order to ensure that we have a good user experience, its important to make sure that when one user leaves the call, all other users in the call see that this user has left the video chat, and no longer have a stray video tag just hanging out. Using the destroy method which is offered by simple peer is also very helpful for us here.
group video chat: • React Group Video Chat | simple-peer webRTC
code to follow along: https://github.com/coding-with-chaim/...
If you enjoyed the video, please consider dropping a like! It helps really helps the channel!
Follow me on Twitter: / codingwithchaim
Subscribe to the channel: https://www.youtube.com/c/codingwithc...