AirPlay target support integrated into XBMC natively?

  Thread Rating:
  • 3 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Closed
kgleeson Offline
Junior Member
Posts: 5
Joined: Nov 2010
Reputation: 0
Post: #16
Direct link for the apphttp://ericasadun.com/ftp/Macintosh/
Works pretty well, and a linux client s on the way
(This post was last modified: 2010-12-15 02:35 by kgleeson.)
find
bleze Offline
Senior Member
Posts: 215
Joined: Nov 2009
Reputation: 0
Post: #17
She just forgot to post the source code but maybe that comes when when it's done Smile
find
logictester Offline
Fan
Posts: 673
Joined: Oct 2008
Reputation: 0
Location: USA
Post: #18
kgleeson Wrote:Direct link for the apphttp://ericasadun.com/ftp/Macintosh/
Works pretty well, and a linux client s on the way

could you please provide some info on the linux version? could not find it on the site
thanks
find
ximon Offline
Member
Posts: 60
Joined: Jan 2009
Reputation: 0
Location: Nantes, France
Post: #19
bleze Wrote:She just forgot to post the source code but maybe that comes when when it's done Smile

It's not even finished and it's already ad-supported. Getting the source code is highly unlikely.

But at least we know mimicking an AppleTV is possible!
find
n8op8o Offline
Junior Member
Posts: 9
Joined: Jul 2010
Reputation: 0
Post: #20
From what i understand all the communication is happening via port 7000. using http commands. I don't have an airplay device so i can't confirm this.

Bonjour browser reports a service on port 22555.

once when i have a device i'll be able to see what commands are being sent over the wire. Should be rather easy to figure out.

Links:
http://www.tuaw.com/2010/12/08/dear-aunt...to-my-mac/

-nate
find
bleze Offline
Senior Member
Posts: 215
Joined: Nov 2009
Reputation: 0
Post: #21
If it doesn't use SSL then a man-in-the-middle attack could be used to sniff the protocol.

http://en.wikipedia.org/wiki/Man-in-the-middle_attack
find
drivesoslow Offline
Fan
Posts: 460
Joined: Aug 2008
Reputation: 4
Post: #22
If you telnet to the system with airshare on port 22555 and paste the following it will play the video

Code:
POST /play HTTP/1.1
Content-Length: 112
User-Agent: MediaControl/1.0

Content-Location: http://samples.fileformat.info/format/mpeg/sample/567fd6a0e0da4a8e81bdeb870de3b19c/DELTA.MPG?AWSAccessKeyId=0V91BEFA7GM093MEVMG2&Signature=a3OiU4IG7%2FQVBiuNqHalaWpk47U%3D&Expires=1292468098
Start-Position: 0.0
find
texaco Offline
Member
Posts: 74
Joined: Aug 2010
Reputation: 0
Post: #23
drivesoslow Wrote:If you telnet to the system with airshare on port 22555 and paste the following it will play the video

Code:
POST /play HTTP/1.1
Content-Length: 112
User-Agent: MediaControl/1.0

Content-Location: http://samples.fileformat.info/format/mpeg/sample/567fd6a0e0da4a8e81bdeb870de3b19c/DELTA.MPG?AWSAccessKeyId=0V91BEFA7GM093MEVMG2&Signature=a3OiU4IG7%2FQVBiuNqHalaWpk47U%3D&Expires=1292468098
Start-Position: 0.0

I have read up on what has been published and it looks like airplay is indeed using http protocol with a twist, a server can in an instance become a client (Bidirectional http)

I think there is two keypoints to solve:

1# appletv use a custom dnsannouncer based on Bonjour (apple uses this zeroconf protocol to search for printers, services, AirPort etc) .This is how iphones and ipads know when to display the AirPlay icon in the mediaplayer.


2# Sniffing out the protocol.
this is the simple part, and can be done by simply looking at traffic between a AppleTv and a iOS-device ( http plaintext).



How AirPlay works:
1. AppleTV announce that it is reachable to the network
2.iOS searches for this announcement
3.iOS handshakes (says hello) to the AppleTV
4.iOS says to the AppleTV: play this video from me
5.AppleTV switches to client mode and fetches stream from iOS


(this is based upon rough reading, feel free to correct me if there is something wrong)
find
vinc Offline
Junior Member
Posts: 14
Joined: Dec 2010
Reputation: 0
Post: #24
Open source (mind; Cacao osx, and ios) version is here:
https://github.com/rothacr/AirTV

May be helpful getting dev's started on porting to python?
find
PrimaryMaster Offline
Senior Member
Posts: 171
Joined: May 2009
Reputation: 0
Post: #25
"Mac-based AirPlay service allows device-to-Mac playback"

[Image: screen-shot-2010-12-14-at-12.19.03-pm.jpeg]

http://www.tuaw.com/2010/12/14/hacksugar...ac-playba/

http://ericasadun.com/ftp/Macintosh/

Is this some how possible to implant in xbmc?
I know its now only for mac, but what do you think?
?

I love the idee to send video from my ipad to my XBMC Pc...

[Image: xbmcnubanner.jpg]
find
trevorcobb Offline
Member
Posts: 54
Joined: Jul 2009
Reputation: -10
Post: #26
i know this may not be a 100% appropriate place to talk about this, since it isn't specifically XBMC related, but now that the AirPlay software has been reverse engineered and made to run on Mac OSX, wouldn't it also be feasible to run it on the ATV Gen 1? Could it be incorporated into XBMC?
find
pecinko Online
Donor
Posts: 3,675
Joined: Dec 2008
Reputation: 49
Location: Prague / Belgrade
Post: #27
PrimaryMaster Wrote:http://www.tuaw.com/2010/12/14/hacksugar...ac-playba/

http://ericasadun.com/ftp/Macintosh/

Is this some how possible to implant in xbmc?
I know its now only for mac, but what do you think?

Well, if you read to the end of webpage you posted a link to, at the bottom, there is a thank you note:
Code:
Thanks, lbm, [b]davilla[/b], bile/nitotv, Steven Troughton-Smith, conradev, adiabatic, August Joki, and everyone else who helped test and scan and reverse engineer
So I suppose it eventually will be in XBMC Wink

My skins:

Amber
Quartz

find
davilla Offline
Team-XBMC Developer
Posts: 11,387
Joined: Feb 2008
Reputation: 64
Post: #28
damm, I can't hide anywhere Smile


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find
vinc Offline
Junior Member
Posts: 14
Joined: Dec 2010
Reputation: 0
Post: #29
http://www.youtube.com/watch?v=2oBfC8Lqumo
find
robbiet480 Offline
Junior Member
Posts: 6
Joined: Aug 2008
Reputation: 0
Post: #30
vinc Wrote:http://www.youtube.com/watch?v=2oBfC8Lqumo

So,

any ETA?
find
Thread Closed