4 ms·
nice one. each party generates a public/private key pair, the key in the url is a public key to exchange with a peer, then the communication is encoded/decode
by nittanymount 3y ago
nice one.
each party generates a public/private key pair,
the key in the url is a public key to exchange with a peer,
then the communication is encoded/decoded with the keys, right ?
- Screen8774 3y agoThe peerjs connection ID is what is shared. On first-connection, the keys are generated and exchanged over webrtc. it only does this on the first-time-connection. On subsequent connections, the keys are used to validate identity else the connection is rejected.