Closed colinthesealion closed 10 years ago
I would guess this is probably related to the similar problem faced by airfoil: http://weblog.rogueamoeba.com/2013/09/25/airfoil-for-mac-4-8-1-restores-appletv-compatibility/. I've contacted them as well to see if they'll share the workaround.
Well I used tcpdump to sniff the packets being sent by airfoil, and it seems that all they did to enable streaming to the apple tv is to remove the encryption.
I have made some changes to my local copy of rtsp.js to conditionally include rsaaeskey and aesiv in the ANNOUNCE request based on an additional option for the airtunes.add method. And I can now send audio to the apple tv by using { encrypted: false }.
I'd be happy to integrate my changes into the main branch if you're interested.
Hey, thanks for testing this. I'd be happy to merge any changes you make.
I've been successful at connecting to both my Airport Express and Airfoil Speakers, but when I try to connect to my AppleTV2 I get error "Not Acceptable", which I presume is HTTP error code 406.