Browse documentation

macOS

Run inference on the host

Run the echo smoke test first. In the app, load the host key from protected storage, supply the approved client IDs and keep the host handle in app state. Shut it down when disabling hosting or changing the allowlist.

Validate the audio envelope in the handler and send accepted audio to the local ASR worker. Keep blocking inference off the async executor and make cancellation cooperative. Install the model and runtime on the host.

Evidence from Munia

A separate Munia test sent prerecorded audio from Android through a configured relay to Whisper on the Mac. See the examples for the desktop sample and test coverage.