Why does the QR code constantly change?
When I played with WebRTC, I was able to pack the relevant SDP data to just 80 bytes:
- 1 Type of the SDP - Offer or Answer
- 1 Packet size in bytes (not including ECC bytes)
- 4 IP address of the transmitting peer
- 2 Network port that will be used for the communication
- 32 SHA-256 fingerprint of the session data
- 40 ICE Credentials - 16 bytes username + 24 bytes password
Or, you could send the files over WebRTC datachannels after establishing the connection!