Since AndroidMic is primarily written in Rust, I was wondering if it could make use of Iroh, a Rust library for initiating quic connections using a public key rather than IP address. It could bring the following advantages:
- Universal connectivity, Iroh connects the devices p2p if they're on the same network, tries NAT hole punching if there are routers in between, and uses a relay if everything fails. So regardless of the circumstances, the devices should always connect.
- Stable identities, because the connection is created using cryptographic keys rather than IPs, the devices should always find each other, and the authenticity should be guaranteed.
- As far as I understand, the cryptographic keys are also used to encrypt the traffic, so the communication should be secure out of the box regardless of where it flows.
In other words, the user would pair the devices once, for example using a QR code, and would not need to care about anything afterwards, Iroh should take care the communication is always established as far as both peers have internet connection.
Since AndroidMic is primarily written in Rust, I was wondering if it could make use of Iroh, a Rust library for initiating quic connections using a public key rather than IP address. It could bring the following advantages:
In other words, the user would pair the devices once, for example using a QR code, and would not need to care about anything afterwards, Iroh should take care the communication is always established as far as both peers have internet connection.