ausha

Local network audio

Your computer's sound, on your phone.

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.

music and video two-way for calls local network only Linux sender Android & desktop listeners
on the computerlisten
$ cargo run --release --bin ausha
on the computercalls too
$ cargo run --release --bin ausha -- --uplink

What it is

Two things it does.

Listen

Whatever your computer is playing — music, a video, a call — comes out of your phone, or another computer, on the same WiFi.

Call mode

Your phone's microphone goes back the other way, so the phone becomes a wireless headset for a call you take on the computer.

Your computer Your phone music, video, your call speaker and microphone sound your voice call mode only same WiFi

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

Three steps.

01

Start it on the computer

To listen only:

computerlisten
$ cargo run --release --bin ausha

For calls as well:

computercalls too
$ 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.

02

Put the app on your phone

Open the android/ folder in Android Studio. On the phone, turn on USB debugging and plug it into the computer. Press Run.

03

Connect

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.

Use headphones on the phone for calls. Speakerphone echo cancellation has not been confirmed on real hardware yet, so without them the person you are talking to may hear themselves.
04

Or listen on another computer

No app needed. Use the address and code the sender printed.

other computerlisten
$ 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

Usually one of five things.

It just times out

The firewall. The computer needs to accept TCP 6996 and UDP 6997.

sudo ufw allow 6996/tcp && sudo ufw allow 6997/udp

It times out, but ping works

Your WiFi blocks devices from talking to each other. Nearly all guest networks do this. Use a different network.

It says the pairing code is invalid

The code changes every time the sender starts. Use the one on screen right now, or pin it with --token.

No senders appear in the app's list

Your router blocks mDNS. Scan the QR code instead.

Call mode says there is no microphone

The computer was started without --uplink. Stop it and start it again with the flag.