•   
  • 1
  • 2(current)
  • 3
  • 4
  • 5
  • 41
  •   
  Thread Closed
AirPlay target support integrated into XBMC natively?
#16
Direct link for the apphttp://ericasadun.com/ftp/Macintosh/
Works pretty well, and a linux client s on the way
#17
She just forgot to post the source code but maybe that comes when when it's done Smile
#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
#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!
#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
#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
#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
#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)
#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?
#25
"Mac-based AirPlay service allows device-to-Mac playback"

Image

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]
#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?
#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

#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.
#29
http://www.youtube.com/watch?v=2oBfC8Lqumo
#30
vinc Wrote:http://www.youtube.com/watch?v=2oBfC8Lqumo

So,

any ETA?
  •   
  • 1
  • 2(current)
  • 3
  • 4
  • 5
  • 41
  •   
  Thread Closed
 
Thread Rating:
  • 3 Vote(s) - 5 Average



Logout Mark Read Team Forum Stats Members Help
AirPlay target support integrated into XBMC natively?53