Closed shrey1608 closed 4 years ago
You need to close the connection of the user that just left...
myPeer.connections[peerId][0].close()
Hope this helps... Waiting to get your feedback
Take a look at my recently opened Pull Request #25. It offers a solution to this issue.
when the user leaves the room the video gets stuck and doesn't clear out after some time.