Why hasn't Apple introduced Airplay, not just Airplay mirroring?

icebergx

macrumors regular
Original poster
May 27, 2012
201
3
Copenhagen, Denmark
Hi all,
I know most people will probably not know the answer to this but I don't really understand why Airplay (video) hasn't been implemented in OSX yet.
I don't mean mirroring, and I know Airplay Audio is possible, but things like beaming a youtube video to your Apple TV, without having to fully mirror your display, sounds like a simple, useful, feature.
If you can do it with your iPhone, doing it with your Mac should be pretty simple, no?
 

Rigby

macrumors 601
Aug 5, 2008
4,737
3,684
San Jose, CA
I don't mean mirroring, and I know Airplay Audio is possible, but things like beaming a youtube video to your Apple TV, without having to fully mirror your display, sounds like a simple, useful, feature.
If you can do it with your iPhone, doing it with your Mac should be pretty simple, no?
Not sure what you are asking here. Airplay needs to be implemented in the playback application, since it requires access to the original video stream before decoding. iTunes can obviously airplay video. It would be easily possible to implement airplay for Youtube videos in a Youtube Mac app.
 

icebergx

macrumors regular
Original poster
May 27, 2012
201
3
Copenhagen, Denmark
Not sure what you are asking here. Airplay needs to be implemented in the playback application, since it requires access to the original video stream before decoding. iTunes can obviously airplay video. It would be easily possible to implement airplay for Youtube videos in a Youtube Mac app.
Your youtube example is what I want. I'd like my Apple TV to be able access the original video stream.
I'd like to be able to beam the video stream, that I've come across on the internet (via Safari or Chrome) directly to my Apple TV. This can be down on the iPhone, so I don't know why this would be a problem for a full-sized Mac.

The reason why I want this is, that I often watch sports on my Mac, and when I airplay mirror my screen, panning shots and fast motion become almost unwatchable, even if I'm connected to the Apple TV via Ethernet. If I just watch the action on my mac screen, it looks perfect. Not jerkiness whatsoever.

Thanks.
 

Rigby

macrumors 601
Aug 5, 2008
4,737
3,684
San Jose, CA
Your youtube example is what I want. I'd like my Apple TV to be able access the original video stream.
Well, then you need to ask Google or a third-party developer to write a Mac app for Youtube that can airplay. This is not really Apple's responsibility.
I'd like to be able to beam the video stream, that I've come across on the internet (via Safari or Chrome) directly to my Apple TV.
Again, this will need to be implemented in the playback application, in this case the browser for HTML5 videos, or the Flash or Silverlight plugins for others.

Also, it is not technically possible to do this for all videos that you can watch in a browser, since many are not in a format that is compatible with the Apple TV (which understands only MPEG4 videos according to Apple's specification).
This can be down on the iPhone, so I don't know why this would be a problem for a full-sized Mac.
On iOS airplay is app-specific as well.
 

twintin

macrumors 6502
Aug 10, 2012
477
39
Sweden
I know most people will probably not know the answer to this but I don't really understand why Airplay (video) hasn't been implemented in OSX yet.
It seems to be there since as already mentioned, Beamer makes use of it. The API is however not public/official (seems the Beamer developers have reverse engineered it). But one of these days it may appear to the public as well.

Your youtube example is what I want. I'd like my Apple TV to be able access the original video stream.
For this you can install a Safari extension called ClickToPlugIn. It will provide your youtube videos with a menu entry called "Send via AirPlay". Despite the name the way it works it resembles more ChromeCast than AirPlay (e.g. it seems to handover the youtube link to the ATV).
 
Last edited:

Rigby

macrumors 601
Aug 5, 2008
4,737
3,684
San Jose, CA
It's been implemented since 2011! But not by Google. The little thing that does this is called ClickToFlash.
There are sites, where even CTF can't grab the stream, however. One place i've seen it is the sites using Flowplayer to hide the actual stream from the browser.
Yes, it worked with Youtube and a number of other sites when I last checked. But it is not a universal solution as the OP asked for.

BTW, you should use the newer ClickToPlugin now, which can also replace some other plugin-based players besides Flash.
 

chuges

macrumors member
Oct 31, 2011
93
8
Mavericks now has the ability to use Airplay for "desktop extension" instead of just "mirroring." You should test if this works better than just rote mirroring (I unfortunately can't do it right now)
 

priitv8

macrumors 68040
Jan 13, 2011
3,517
435
Estonia
But it is not a universal solution as the OP asked for.
Yes, universal would be if implemented in AVFoundation. Because Mavericks is the first iteration of QTKit to AVFoundation transition, maybe it was just not sufficiently high on product backlog?
 

Rigby

macrumors 601
Aug 5, 2008
4,737
3,684
San Jose, CA
You could also spend $35 on a Chromecast and cast tabs from Chrome to the TV.
Yes, but that results in a quality loss and also requires more CPU cycles, since it doesn't stream the original video stream, but re-encodes from the framebuffer.
 

icebergx

macrumors regular
Original poster
May 27, 2012
201
3
Copenhagen, Denmark
Is this what you're looking for?:confused:

http://www.maclife.com/article/howtos/mavericks_howto_using_apple_tv_second_display

If I understood your question correctly this was one of the features that was highlighted at the mavericks keynote demo.
No, I can airplay mirror without any problem. The problem is that the quality isn't good for watching sport and fast action. Click to plugin works very well for youtube, certainly better than screen mirroring, but it doesn't work on the flash media player used by my sports streaming service. :(
 

Delmar

macrumors 6502
May 10, 2012
308
11
Texas
Only the most recent Mac Mini has an HDMI port and other workarounds are kludgy and don''t work well.
My Mini doesn't have an HDMI port & it works perfectly connected to my AVR via HDMI & Optical cable. It has become a really nice little media/file server. I'll have to look up kludgy. What is that, a cheap China made adapter?;)
 

APlotdevice

macrumors 68040
Sep 3, 2011
3,109
3,749
It is a mystery why we can't at least AirPlay HTML5 videos [by default]. I mean, 1) they're being played through the native OSX video player, and 2) third party extensions have shown it is possible to implement Airplay in Safari.
 

rainpl

macrumors newbie
Dec 23, 2009
15
1
(...)things like beaming a youtube video to your Apple TV, without having to fully mirror your display, sounds like a simple, useful, feature.
If you can do it with your iPhone, doing it with your Mac should be pretty simple, no?
It actually was :)

I just created a simple Chrome extension to send YouTube videos to AppleTV via AirPlay: https://github.com/czekaj/ChromePlay.

Feel free to use it and please report any issues you encounter.