fairplay

Decoding AirPlay Mirroring Protocol

為{幸葍}努か 提交于 2019-12-02 20:26:12
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. Check out AirServer -> they've already done this and it works

FairPlay Streaming: Calling copyPixelBufferForItemTime on AVPlayerItemVideoOutput returns NULL

半城伤御伤魂 提交于 2019-11-28 01:45:59
Has anybody had experience using HLS with Fairplay and succeeded in retrieving the pixel buffer? I'm using an AVURLAsset with its resourceLoader delegate set. My AVAssetResourceLoaderDelegate takes care of dealing with the Fairplay process. It displays fine on an AVPlayerLayer , however, when I try to use an AVPlayerItemVideoOutput that is attached to the AVPlayerItem and use copyPixelBufferForItemTime on it, the pixelBuffer returned is always NULL. On the other hand, when I use a non-encrypted stream and not use the resourceLoader copyPixelBufferForItemTime returns a pixelbuffer as expected.

FairPlay Streaming: Calling copyPixelBufferForItemTime on AVPlayerItemVideoOutput returns NULL

冷暖自知 提交于 2019-11-26 22:02:15
问题 Has anybody had experience using HLS with Fairplay and succeeded in retrieving the pixel buffer? I'm using an AVURLAsset with its resourceLoader delegate set. My AVAssetResourceLoaderDelegate takes care of dealing with the Fairplay process. It displays fine on an AVPlayerLayer , however, when I try to use an AVPlayerItemVideoOutput that is attached to the AVPlayerItem and use copyPixelBufferForItemTime on it, the pixelBuffer returned is always NULL. On the other hand, when I use a non