longdestination.blogg.se

Airplay emulator mac
Airplay emulator mac











  1. #AIRPLAY EMULATOR MAC FOR ANDROID#
  2. #AIRPLAY EMULATOR MAC CODE#

EstebanKubata: Created a FairPlay library called PlayFair.

#AIRPLAY EMULATOR MAC CODE#

Most of the code in lib/ originally stems from this project.

airplay emulator mac

Juho Vähä-Herttua and contributors: Created an AirPlay audio server called ShairPlay, including support for Fairplay based on PlayFair.All code in lib/ concerning mirroring is dsafa22's work. This project is basically a port of dsafa22's code to the Raspberry Pi, utilizing OpenMAX and OpenSSL for better performance on the Pi.

#AIRPLAY EMULATOR MAC FOR ANDROID#

  • dsafa22: Created an AirPlay 2 mirroring server(seems gone now) for Android based on ShairPlay.
  • Here is my attempt at listing the various authors and the components they created: The code in this repository accumulated from various sources over time. Given the large number of third-party AirPlay receivers (mostly closed-source) available for purchase, it is my understanding that an open source implementation of the same functionality wouldn't violate any of Apple's rights either. Should you be a representative of Apple and have any objections against the legality of the library and its use in this project, please contact me and I'll take the appropriate steps. The legal status of that library is unclear. This project makes use of a third-party GPL library for handling FairPlay. It is the responsibility of the user to make sure all local laws are adhered to. The code and related resources are meant for educational purposes only. DisclaimerĪll the resources in this repository are written using only freely available information from the internet. v/-h: Displays short help and version information. Will lead to choppy playback due to heavy console output. ar renderer: Select an audio renderer to use (rpi, gstreamer, or dummy) vr renderer: Select a video renderer to use (rpi, gstreamer, or dummy)

    airplay emulator mac

    a (hdmi|analog|off): Set audio output device As a side effect, playback will be choppy and audio-video sync will be noticably off. Low-latency mode reduces latency by effectively rendering audio and video frames as soon as they are received, ignoring the associated timestamps. f (horiz|vert|both): Specify image flipping. r (90|180|270): Specify image rotation in multiples of 90 degrees. b (on|auto|off): Show black background always, only during active connection, or never. n name: Specify the network name of the AirPlay server. Start the rpiplay executable and an AirPlay mirror target device will appear in the network.Īt the moment, these options are implemented:

  • ilclient and Broadcom's OpenMAX stack as present in /opt/vc in Raspbian.įor downloading the code, use these commands:.
  • libavahi-compat-libdnssd-dev (for the bonjour registration).
  • The following packages are required for building on Raspbian: RPiPlay might not be suitable for remote video playback, as it lacks a dedicated component for that: It seems like AirPlay on an AppleTV effectively runs a web server on the device and sends the URL to the AppleTV, thus avoiding the re-encoding of the video.įor rough details, refer to the (mostly obsolete) inofficial AirPlay specification.
  • Make sure no other demanding tasks are running (this is particularly important for audio on the Pi Zero)īy using OpenSSL for AES decryption, I was able to speed up the decryption of video packets from up to 0.2 seconds to up to 0.007 seconds for large packets (On the Pi Zero).
  • Make sure you don't use the -d debug log flag.
  • Make sure the DUMP flags are not active.
  • airplay emulator mac

    Compile with -O3 (cmake -DCMAKE_CXX_FLAGS="-O3" -DCMAKE_C_FLAGS="-O3".The Pi has no hardware acceleration for audio (AirPlay mirroring uses AAC), so the FDK-AAC decoder is used for that.īoth audio and video work fine on a Raspberry Pi 3B+ and a Raspberry Pi Zero, though playback is a bit smoother on the 3B+. The GPU is used for decoding the h264 video stream. Recent macOS versions also seem to be compatible. Screen mirroring and audio works for iOS 9 or newer. The goal is to make it run smoothly even on a Raspberry Pi Zero.

    airplay emulator mac

    An open-source implementation of an AirPlay mirroring server for the Raspberry Pi.













    Airplay emulator mac