Decoding AirPlay Mirroring Protocol

airplay, fairplay, ios, ipad, macos

Solution

Check out AirServer -> they've already done this and it works flawlessly (almost)..

Problem

I want my app to mirror the display of my iPad 2 to my Mac. I have published the `_airplay._tcp` service and am listening on the port `7100`. The app shows in the `AirPlay` menu and the `Mirroring` option is also there. Video and audio streaming work perfectly. But I don't know how to decode the FairPlay encryption (`POST /fp-setup`) to support AirPlay mirroring. I have taken reference from http://www.aorensoftware.com/blog/2011/08/20/exploring-airplay-mirroring-internals/. If anyone has any idea on how to do that, please tell me.

Original source