Affiliate Disclosure
If you buy through our links, we may get a commission. Read our ethics policy.

iPhone 2.2 hides video out code for third-party apps

An unpublished part of iPhone's latest programming framework lets third-party developers pipe video out to an external device, albeit not without a few catches.

Confirmed by Ars Technica, a programming class in the iPhone SDK known as MPTVOutWindow does essentially what its name implies: it sends video out through the Dock Connector port to an outside source, such as an external screen.

The adaptation is primarily meant for movies but allows any program to export the current contents of the screen, theoretically allowing apps intended for screens larger than the 3.5-inch iPhone LCD.

After testing, however, well-known iPhone developer Erica Sadun notes that touch input is disabled in this mode with current implementations and so prevents using the iPhone as a regular controller for games or presentations. It does recognize accelerometer input for a basic level of control.

The code writer also observes that the programming call appears designed for the phone's landscape view rather than the upright portrait mode for most iPhone apps, forcing developers eager to use the new mode to adjust for the realignment.

But while these limitations have already been discovered, developers have already written basic code and plan to explore the MPTVOutWindow function more in the near future to see what it will do; an example of this is provided below.



14 Comments

MacPro 19 Years · 19854 comments

It is like the Apple TV, the hardware just keeps getting new abilities ... a new phenomenon for hardware!

foo2 18 Years · 1077 comments

In Jobs' MWSF keynote in January 2007, the iPhone was shown to support video out, in both portrait and landscape mode, and simultaneous touch input.

tenobell 20 Years · 6976 comments

This is an API for third party apps to use video out. Before that only Apple could use the video out for its in house apps.

jeffdm 21 Years · 12733 comments

Quote:
Originally Posted by TenoBell

This is an API for third party apps to use video out. Before that only Apple could use the video out for its in house apps.

It sounds like it's almost completely undocumented, if it is for developer access, it's probably not ready yet.