Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AirPlay API for Mac OS X

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!

like image 246
indragie Avatar asked Mar 06 '11 18:03

indragie


People also ask

Why is AirPlay not available on my Mac?

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”.

Does macOS support AirPlay 2?

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.

What protocols does AirPlay use?

The AirPort Express' streaming media capabilities use Apple's Remote Audio Output Protocol (RAOP), a proprietary variant of RTSP/RTP.


1 Answers

Here is an open source ruby implementation. It's pretty straight forward. https://github.com/elcuervo/airplay

like image 52
Morgan Avatar answered Sep 23 '22 03:09

Morgan