Local network audio
Play whatever your computer is playing through your phone on the same WiFi. Turn on call mode and it goes both ways — the phone becomes the computer's microphone, so you can take a call on the computer from across the room.
$ cargo run --release --bin ausha
$ cargo run --release --bin ausha -- --uplink
What it is
Whatever your computer is playing — music, a video, a call — comes out of your phone, or another computer, on the same WiFi.
Your phone's microphone goes back the other way, so the phone becomes a wireless headset for a call you take on the computer.
The computer captures what it is already playing and sends it to the
phone. In call mode the phone sends its microphone back, and the computer
offers that to your call app as an input device named ausha.
How to use it
To listen only:
$ cargo run --release --bin ausha
For calls as well:
$ cargo run --release --bin ausha -- --uplink
It prints a pairing code and a QR code. Leave it running. You need
Linux and ffmpeg built with libopus.
Open the android/ folder in Android Studio. On the
phone, turn on USB debugging and plug it into the
computer. Press Run.
Tap Scan QR in the app and point it at the code on your screen. Sound starts straight away.
For calls, also turn on Call mode in the app, then
pick ausha as the microphone in Zoom, Discord, Meet —
whatever you are calling from.
No app needed. Use the address and code the sender printed.
$ cargo run --release --bin ausha-recv -- \ --host <ip> --token <code>
Add --latency low for less delay, or
--latency stable if the WiFi is poor.
If it does not connect
The firewall. The computer needs to accept TCP 6996 and UDP 6997.
sudo ufw allow 6996/tcp && sudo ufw allow 6997/udp
Your WiFi blocks devices from talking to each other. Nearly all guest networks do this. Use a different network.
The code changes every time the sender starts. Use the one on screen
right now, or pin it with --token.
Your router blocks mDNS. Scan the QR code instead.
The computer was started without --uplink. Stop it and
start it again with the flag.