Decoding AirPlay Mirroring Protocol

╄→尐↘猪︶ㄣ 提交于 2019-12-03 05:47:10

问题


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.


回答1:


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




回答2:


They are using AES encryption, -- partially right. But very long code in fp-setup handshaking,(First FP-SETUP, Second FP-SETUP, fpaeskey encryption) and also the real decryption part is Apple's customized module.



来源:https://stackoverflow.com/questions/10017122/decoding-airplay-mirroring-protocol

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!