In this video I demonstrate how to handle a user leaving a webrtc video chat using simple peer. One of the real nice things about using simple peer is that it offers a method called peer destroy which can take advantage of.
Code to follow along: https://github.com/coding-with-chaim/...
simple peer video chat: • Create a React webRTC Video Chat Applicati...
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...