I believe Airplay has special OS integration - a third party app wouldn't have access to the screen buffer with zero-copy.. A third party app would at a minimum have to copy the data to system memory and back to the GPU, using a lot of CPU time for that alone, before any encoding.