juhovh / shairplay

Apple airplay and raop protocol server
Other
1.35k stars 228 forks source link

ios 9.3 POST /pair-setup,POST /pair-verify #61

Closed Jack-lx closed 6 years ago

Jack-lx commented 8 years ago

POST /pair-verify or /pair-setup,how to handle these seesion?

POST /pair-setup RTSP/1.0 Content-Length: 32 Content-Type: application/octet-stream CSeq: 0 DACP-ID: 82F0F5B508E73AF1 Active-Remote: 3453826074 User-Agent: AirPlay/280.32.2

-k8hS( aG

RTSP/1.0 200 OK CSeq: 0 Content-Length: 32 Audio-Jack-Status: connected; type=analog Server: AirTunes/230.33

y|XT^{W7zVSsoFzGt

POST /pair-verify RTSP/1.0 X-Apple-AbsoluteTime: 481732246 X-Apple-PD: 1 Content-Length: 68 Content-Type: application/octet-stream CSeq: 1 DACP-ID: 82F0F5B508E73AF1 Active-Remote: 3453826074 User-Agent: AirPlay/280.32.2

P(XGd^+a;5lmpH^-k8hS( aG

RTSP/1.0 200 OK CSeq: 1 Content-Length: 96 Audio-Jack-Status: connected; type=analog Server: AirTunes/230.33

^Ns`>shrPbg1xYy=L^Xne:|6OB#hi^9m-^O/S^lb

POST /pair-verify RTSP/1.0 X-Apple-AbsoluteTime: 481732247 X-Apple-PD: 1 Content-Length: 68 Content-Type: application/octet-stream CSeq: 2 DACP-ID: 82F0F5B508E73AF1 Active-Remote: 3453826074 User-Agent: AirPlay/280.32.2

j8~oY6>J?[X|2U|iWn

RTSP/1.0 200 OK CSeq: 2 Content-Length: 0 Audio-Jack-Status: connected; type=analog Server: AirTunes/230.33

tishion commented 6 years ago

hi @juhovh , I have some problem while i am implementing the AirServer, the first one is how to disable the FairPlay support? Is it achieved by change the Airplay feature flag?

jmvermeulen commented 6 years ago

@juhovh thanks! My use case is very specific to Windows. I got one of the Chinese examples running but the critical part isn't open sourced by the development.

Will have a look at your code, when back at the office. Do you know if your application runs in Windows 10 Ubuntu?

@tishion I believe we are a open source community. Would be great if you could provide your code in GitHub ;-)