Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lmcgartland/airplay2-rs


https://github.com/lmcgartland/airplay2-rs

Last synced: 11 days ago
JSON representation

Awesome Lists containing this project

README

        

**WARNING** This repo is in early stages of development, and nowhere near close to release!

## Goals
This crate should be able to act as a general purpose AirPlay 2 sender/reciever, so other audio applications can interface with AirPlay devices. Initial functionality should focus on acting as the sender, in order to be able to stream audio sources to HomePod devices.

- Sender
- [ ] Pairing
- [ ] Multi-room support
- Receiver?

## Getting Started
Uses Avahi daemon for Zeroconf networking on Linux.

```bash
# This daemon will need to be running at run-time.
sudo apt-get install avahi-daemon

# Install Linux dependencies
sudo apt install xorg-dev libxcb-shape0-dev libxcb-xfixes0-dev libavahi-client-dev clang

# Run the crate:
cargo run
```

## References
- [https://9to5mac.com/2019/12/05/airplay-2-cracked/](https://9to5mac.com/2019/12/05/airplay-2-cracked/)
- [https://openairplay.github.io/airplay-spec/](https://openairplay.github.io/airplay-spec/)
- [https://emanuelecozzi.net/docs/airplay2](https://emanuelecozzi.net/docs/airplay2)
- [https://github.com/openairplay/airplay2-receiver](https://github.com/openairplay/airplay2-receiver)

### Notes
- Docker image not working on M1 Mac
- Must be built for x86 arch `docker buildx build --platform linux/amd64 -t airplay:latest .`
- Run docker image using host network `docker run --platform linux/amd64 -it --network host airplay:latest /bin/bash`