3 ms·
I wasn't able to get all the info into one QR code, so I used a series of them (looping) to send all the data. I figure I can use this approach to send files to
by AquiGorka 8y ago
I wasn't able to get all the info into one QR code, so I used a series of them (looping) to send all the data. I figure I can use this approach to send files too.
- ggerganov 8y agoWhat is the capacity of those QR codes? 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
- AquiGorka 8y agoI found a similar limit (although I still want to try with different options for the qr codes). I send the data as is by splitting it into smaller segments and looping through them with more than one qr code.
- cjbprime 8y ago> I figure I can use this approach to send files too. Or, you could send the files over WebRTC datachannels after establishing the connection!
- AquiGorka 8y agoFor sure, I am just interested in pushing this experiment and see how far it can go.