PeerJS simplifies WebRTC peer-to-peer data, video, and audio calls. ... You can pick your own id or omit the id if you want to get a random one from the server.