Stream video via AirPlay without affecting app? - ios

I have a native app and would like to stream video to an Apple TV over AirPlay, but without affecting the app screen. The video should NOT to be shown on the app screen -- only on the Apple TV.
Is this possible in iOS 7?

Yes, it is possible:
If you use AirPlay to allow users to redirect content to an external
device display, you can either mirror the current app content on the
second display or show different content on it.

Related

Is it possible to filter device list displayed in AVRoutePickerView?

Our iOS app supports video streaming. We use AVRoutePickerView to give users an option to stream videos on their TV devices using Airplay connection.
Videos that we stream have some specifics that make them work without issues only on Apple TV. However there are TVs from other vendors (LG, Samsung, Sony, ...) that also have integrated Airplay support and they also show in the AVRoutePickerView.
Is there any way we can filter what AVRoutePickerView displays? Ideally we would like AVRoutePickerView to list only Apple TV devices and not other TVs.

Is it possible to programmatically open an app on an iOS device based on a trigger from a web api

I want to use an old iPad to view an ip camera feed. Instead of keeping the iPad on all day, I want to be able to tell the iPad to wake and open the camera viewer application when the camera senses motion. (Not just a small notification on lock screen, I want to be able to view a full screen image of the cameras feed). After a given period of time the iPad would go back to an off/sleep mode. Is this even possible in iOS? Thanks!
Take a look at the "Singe App Mode" and "Background Execution". Choose an event type that can take your device out from background mode, like VOIP. Do not expect the app to be accepted in the public app store.

How to implement airplay in an iOS app for streaming video on Apple TV

I am working on an iOS app with video streaming. My requirement is that I want to stream video content on Apple TV using Airplay, also streaming should continue even if my phone gets locked / app enters background state.
Thanks in advance.

Airplay with photos

I looked up the official documents for airplay, found the airplay can only support audio and video. But beside that, the native photos app can airplay photos. So is there any methods to airplay photos? BTW, I know the "mirroring" mode can do this job: I can detect 2 screens in my code and present a different screen to the iOS device's in this mode. However, the "mirroring" mode only exists in iPad 2, new iPad and iPhone 4S...
I found solution here
http://livevision.us/wordpress/2011/02/16/airplay-without-private-api/
and
How to find the IP-address of the active AirPlay device?
I could send some UIImage to apple TV.
but I don't know if apple allows using these Unoffical Airplay protocol.
It is documented on Apple's site. When the user enables airplay mirroring, your app will find two UIScreen:s. It's quite simple.
Here's a sample app http://developer.apple.com/library/ios/samplecode/GLAirplay/Introduction/Intro.html

How can I stream my ipad app to apple tv?

For presenting my app to an group, I want to stream the actual ipad screen wireless to a big screen - I hoped, I could realize that via Apple TV 2, but I do not find the right way.
Any suggestions?
(I don´t want to stream video, audio, photos - I want´t to stream the using of my app)
If you have IOS 5, it is already built in. Double click the menu button and scroll to the left, click on the Airplay icon and turn mirroring on.

Resources