libp2p WebRTC QR

Connect two browsers directly by exchanging signed WebRTC offer and answer QR codes.

1. Start browser peer

Peer ID: not started

2. Exchange QR payloads

The first browser creates an offer. The second scans it and returns an answer. The first scans the answer to connect.


For reliable scanning, turn up the other screen's brightness, keep the QR code flat, and let it fill about half of the camera view.

3. Send data over libp2p

Not connected