Is there currently any API (public or private) that will allow a 3rd party Mac OS X application to stream audio to AirPlay receivers? Airfoil by Rogue Amoeba Software seems to be able to do this, same goes for Erica Sadun's AirFlick, but I was unable to find any source code that would demonstrate how to do this. Any pointers are appreciated!
Turn on AirPlay on your Mac computer. If the AirPlay icon in the menu bar at the top of your screen is not visible, open “System Preferences” and click on “Displays”. On the Displays page, check “the box next to Show mirroring options in the menu bar when available”.
AirPlay 2. Major speaker manufacturers are incorporating AirPlay 2 into their home audio products. And every AirPlay 2‑enabled speaker works with the Home app on iOS, iPadOS, and macOS.
The AirPort Express' streaming media capabilities use Apple's Remote Audio Output Protocol (RAOP), a proprietary variant of RTSP/RTP.
Here is an open source ruby implementation. It's pretty straight forward. https://github.com/elcuervo/airplay
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With