AirBeam
A solution to address audio latency when using a HomePod as the system output device on macOS over RAOP.
Install / Use
/learn @ChenKS12138/AirBeamREADME
AirBeam
<img src="./resources/AirBeam.png" width="200" height="200">A solution to address audio latency when using a HomePod as the system output device on macOS over RAOP.
🧪 Compare with Native Speaker & AirPlay
🖥️ Test Environment
- Laptop: MacBook Pro 14-inch (2021)
- OS: macOS Sequoia 15.4
- Network: Wired Ethernet connection
- Speaker: HomePod mini (2020)
- OS: 18.5
- Network: Connected via 5GHz Wi-Fi
⚠️ PLEASE TURN OFF MUTE BEFORE PLAYING THE VIDEOS!
| Native Speaker | Airplay | AirBeam | | ------------- | ------------- | ------------- | | <video src="https://github.com/user-attachments/assets/2b89ad33-e055-4cbe-95da-fc29a9156109.mp4"> | <video src="https://github.com/user-attachments/assets/40815cc9-0c97-4dd4-8b64-6e78be526605.mp4">| <video src="https://github.com/user-attachments/assets/defb753d-1c00-47cb-9ab6-cec83c31e919.mp4">|
📦 Installation
There are several ways:
- ~~⬇️ Download the latest release on Github~~ There're some issue with pre-built release, I will fix it.
- 🚀 Clone it and build it yourself
⚙️ Usage
- Launch the app
- Click Install
- Select your output device in the macOS audio control panel
🛠️ Build from Source
git clone git@github.com:ChenKS12138/AirBeam.git
cd AirBeam
cmake -S . -B build
# or try `cmake -S . -B build -GNinja`, I prefer to use Ninja, it's faster.
cmake --build build --target AirBeam
open build/source/AirBeam/AirBeam.app
🪛 Troubleshooting
git clone git@github.com:ChenKS12138/AirBeam.git
cd AirBeam
bash ./run_airbeam_doctor.sh
# This script will search for RAOP services on the network, you need to enter the number to select one, the script will transmit audio to the RAOP service, and print debug logs to the `mylog.log` file.
# For feedback, please provide the `mylog.log` file.
<img width="932" alt="image" src="https://github.com/user-attachments/assets/73ae18b9-c6f1-4437-95fb-0584353d2120" />
🙏 Credits
Parts of this project were inspired by or adapted from the following open source projects:
- gavv/libASPL – for creating macOS Audio Server plugins.
- LinusU/rust-roap-player – reference for AirPlay integration.
Huge thanks to their authors and contributors! 💖
🤝 Contributing
Contributions are welcome! Feel free to open an issue or submit a PR.
Related Skills
node-connect
352.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。

