top | item 8754364

(no title)

leehro | 11 years ago

This is really interesting technically, a couple tidbits I dug up looking in the mac app bundle:

1. There are a couple of OpenGL shaders in the bundle for converting the screen image to HDTV color space/format (420v.fgsh) and some kind of passthrough.

2. They appear to be using x264 to encode the screen with defaults of 1280x720, 1000kbit, superfast preset. (Defaults.plist)

So on the mac side, they're definitely capturing the screen and sending a streaming video. Not surprising, but the curious part is how they manage to get the iPad to stream in that data over USB. I suppose something like HTTP Live Streaming[1] could work. Place small files into the device's Documents area, and they get streamed. It would be awesome if something else was going on here - like a named pipe.

1. https://developer.apple.com/streaming/

discuss

order

spdustin|11 years ago

My guess is it's using Apple's version of RNDIS ... iPad becomes a network peer of the Mac and streams video over that network.

But I don't believe that API is public, so I can't know for sure...