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.
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. An open-source implementation of an AirPlay mirroring server for the Raspberry Pi.