joshaber / MacShairport

A native Mac Shairport implementation
Other
176 stars 25 forks source link

Remote speaker not compatible with this version of iTunes #10

Open langabi opened 13 years ago

langabi commented 13 years ago

Hi,

I haven't been able to get MacShairport working yet. I describe the issues below; problem might be in underlying shairport code, and/or already known (I couldn't find it, though I'm not an expert in these matters at all). So yeah, use the data below if useful, otherwise feel free to close/merge/move issue.

Running latest (18 May) MacShairport on Macbook Pro with latest Snow Leopard; attempting to connect from latest iTunes on a MacMini. I have DISABLED IPv6 on both machines, as this helped a little. MacShairport shows up in iTunes, but clicking gives error 'The remote speaker "xxx" is not compatible with this version of iTunes.'

/var/log output is:

May 18 11:49:58 PaulMac MacShairport[16162]: -[MSShairportServer netServiceDidPublish:] [Line 90] Published: _raop._tcp.: 5000
May 18 11:50:03 PaulMac MacShairport[16162]: -[MSShairportServer connection:didReceiveData:] [Line 71] Raw request: OPTIONS * RTSP/1.0^M\nCSeq: 1^M\nUser-Agent: iTunes/10.2.2 (Macintosh; Intel Mac OS X 10.6.7) AppleWebKit/533.21.1^M\nClient-Instance: B43BEC2ACA9ECB67^M\nDACP-ID: B43BEC2ACA9ECB67^M\nActive-Remote: 1837138036^M\nApple-Challenge: DJLF8BDoN6FAzf3Udu7org^M\n^M
May 18 11:50:03 PaulMac MacShairport[16162]: -[MSShairportServer connection:didReceiveData:] [Line 75] Parsed request: {\n    "Active-Remote" = 1837138036;\n    "Apple-Challenge" = DJLF8BDoN6FAzf3Udu7org;\n    Body = "";\n    CSeq = 1;\n    "Client-Instance" = B43BEC2ACA9ECB67;\n    "DACP-ID" = B43BEC2ACA9ECB67;\n    Method = "OPTIONS * RTSP/1.0";\n    "User-Agent" = "iTunes/10.2.2 (Macintosh; Intel Mac OS X 10.6.7) AppleWebKit/533.21.1";\n}
May 18 11:50:03 PaulMac MacShairport[16162]: -[MSShairportServer respondToRequest:connection:] [Line 260] Response: RTSP/1.0 200 OK^M\nCSeq: 1^M\nAudio-Jack-Status: connected; type=analog^M\nPublic: ANNOUNCE, SETUP, RECORD, PAUSE, FLUSH, TEARDOWN, OPTIONS, GET_PARAMETER, SET_PARAMETER^M\nApple-Response: 26CEGA/MndwySaRTjUqKauVUcxM7SbT7fWThhodLT8YgMUJvRtBB8JGbhg81R1XKmcUzxi+0mfHEjpANOAZxSlRrOq9Iz68VzLGHOnMXiX0O+x3Ys5FjPhGB+brhFn7ixA1hG6Gaa5C18OwQ/hRJjdO9j2fbpgrg/bmdZR9igssqUjPUAAz6zHQNbwWhMkiiTH4VETZYUk8Onkb3GomcWZOIiUOVvGJTnAGMozK0RQBb+ezhOxBPGnCHTGJ9DVUD7AhkafxQC2Q0dgn0bISgi90HfsnkTmRdL+xfgeJ6CpMo0EaY9b18/MG+HvLGSN+AC5I4PM9V2CBFUs8a+Y0Wog^M\n^M
May 18 11:50:03 PaulMac MacShairport[16162]: -[MSShairportServer connectionDidClose:] [Line 81] Connection closed: <MSShairportConnection: 0x2000534e0> remoteIP: ::ffff:192.168.1.104
MainframeOSX commented 10 years ago

After Compile and Run the App i get this 2013-11-07 16:39:19.140 MacShairport[486:503] -[MSShairportServer connection:didReceiveData:] [Line 71] Raw request: OPTIONS * RTSP/1.0 CSeq: 34 X-Apple-Device-ID: 0xfc253fb8a716 DACP-ID: 4544AE0CFDCD4C86 Active-Remote: 2393596656 User-Agent: AirPlay/190.9

2013-11-07 16:39:19.142 MacShairport[486:503] -[MSShairportServer connection:didReceiveData:] [Line 75] Parsed request: { "Active-Remote" = 2393596656; Body = ""; CSeq = 34; "DACP-ID" = 4544AE0CFDCD4C86; Method = "OPTIONS * RTSP/1.0"; "User-Agent" = "AirPlay/190.9"; "X-Apple-Device-ID" = 0xfc253fb8a716; } 2013-11-07 16:39:19.143 MacShairport[486:503] -[MSShairportServer respondToRequest:connection:] [Line 260] Response: RTSP/1.0 200 OK Public: ANNOUNCE, SETUP, RECORD, PAUSE, FLUSH, TEARDOWN, OPTIONS, GET_PARAMETER, SET_PARAMETER Audio-Jack-Status: connected; type=analog CSeq: 34

underrun.