website statistics

1 Star2 Stars3 Stars4 Stars5 Stars (Rate This)
Loading...

One of the features Apple mixed into the secret sauce for iOS 4.2 is called AirPlay,now AirVideoEnabler is hacked for all iOS apps and AirVideoEnabler can enable AirPlay Video streaming.Now you can also stream video from an iPhone, iPod touch, or iPad to an Apple TV over a home network via AirVideoEnabler….

It was only a few days ago when a proof of concept hack for streaming videos via AirPlay using third party apps was shown on video.By default, Apple’s AirPlay video streaming feature is limited to YouTube app only. But now a new Cydia app by the name of AirVideoEnabler is available with which you can now enable video streaming from your iPhone/iPad/iPod touch to Apple TV 2G using any third party apps, such as Safari.

How To Enable AirPlay Video Streaming In All iOS Apps :

At first you have to subclass basic browser for add service discovery features and told the browser to start searching for AirVideo servers.

-(void)_didFindService:(id)service moreComing:(BOOL)coming
{
NSLog(@”Service Found. Attempting to resolve: %@ (%d more to come)”, service, coming);
[super _didFindService:service moreComing:coming];
[[service retain] setDelegate:self];
[service resolveWithTimeout:0.0f];
}

Then use Standard NSNetService calls and created a standard TCP connection to it.

2010-11-24 09:17:48.052 HelloWorld[80:307] Service Found. Attempting to resolve: <NSNetService 0x150320> local. _airplay._tcp. Apple TV (0 more to come)
2010-11-24 09:17:48.098 HelloWorld[80:307] NSNetService did resolve
2010-11-24 09:17:48.104 HelloWorld[80:307] 192.168.0.100:7000

Then came the hard part, trying to build the server and assign media to it.You needed to resort to kickstarting things in the YouTube application before everything got working my application. This is all proof-of-concept pre-alpha development.Upon resolving, you have to create he MPAirPlayVideoService object and thereafter treated it as a standard movie player.

self.apvs = [[[MPAirPlayVideoService alloc] _initWithNSNetService:service] autorelease];
id item = [[[MPAVItem alloc] initWithPath:CINDY_PATH error:&error] retain];
[apvs setItem:item];
[apvs prepareToDisplayItem:item completionHandler:
^(id whatever, NSError *error){NSLog(@”Prepared”);}];
[apvs playReturningError:&error];

Now for safe App Store with a little screen scraping or off-screen layer manipulation and a clever use of AVFoundation, you can probably have games working out to Apple TV almost immediately.

self.movieController = [[[MPMoviePlayerController alloc] initWithContentURL:[NSURL fileURLWithPath:CINDY_PATH]] autorelease];
[movieController setAllowsWirelessPlayback:YES];
movieController.view.frame = self.view.bounds;
[self.view addSubview:movieController.view];




Thanks:tuaw.com,redmondpie.com


Sony BRAVIA KDL55HX800 55-Inch 1080p 240 Hz 3D-Ready LED HDTV

Megamind – Storybook App Based on the Animated Movie For iPad iPhone And iPod Touch
You can also press the left/right arrow key on your keyboard to go to previous/next post
  On November 27, 2010(5 years, 7 months ago.)

You May Also Like:

What Do You Think?

4 Responses

  1. Anonymous Says:

    Upgraded APPLE TV to 4.2. It will make it alot more useful!I’m really looking forward to seeing a review on how well Air Play works and what apps exactly are allowed to use Air Play.
    Free Apple TV Video Converter

    Posted on November 29th, 2010 at 3:13 AM

  2. Waynezilla Says:

    I have found that sky mobile tv will play sky news over airplay but not sky sports channels? There must be a work around to get these channels working the same way the news channel does, as they are within the same app!

    Posted on July 15th, 2011 at 12:07 PM

  3. Waynezilla Says:

    Also Eurosport player works nice on airplay!

    Posted on January 5th, 2012 at 4:13 AM

  4. Erin Says:

    CLIPCLOCK mobile app. is the best social hub with its new features. Lets discover and share the best video moments!!! Check it out… Here is the link: http://www.clipclock.com/download/5007

    Posted on January 21st, 2013 at 7:09 AM

Leave a Reply




Loading Facebook Comments ...

FTC Disclosure: Some of the links of this website are "affiliate links." This means if you click on the link and purchase the item, we will receive an affiliate commission.


Recent Search

Recent Tutorials

CiderTV is a great alternative to control Apple TV from the Notification Center. Check out this tutorial to set up CiderTV on your iPhone.
Are you annoyed by the split screen mode on the iPhone 6 Plus or 6s Plus? Check out this quick tutorial to turn off split screen feature.
If you could not wait to installed the iOS 10 beta version on you iPhone and now struggling for the errors, then this tutorial is for you.
Siri might not understand the question you asked. But you can use Siri by editing the text that you asked & it will give an updated answer.
Perhaps, you are new Apple user and you might have no idea how to change name of your iPhone. Check out this tutorial to change the name.
Check out this tutorial to lock Android phone using PIN code, Password or Pattern. Following the easy steps, you can secure your smartphone.
If you could not figure out yet, how to save and send GIF from your iPhone, then this tutorial is just for you.
Google released 'Ambient Display' feature with Android 5.x Lollipop. Check the tutorial to know how to turn off Android’s Ambient Display .
Have you recently got your 3D Touch iPhone 6s and struggling to delete apps? Go through the tutorial to learn how to delete or move the apps.
Just read this tutorial by yourself and from now on, we will show you, how you can make your iOS device read text loudly for you.
Close You Have To Login
User:
Pass:
Login With »Login With TwitterLogin With Facebook