Skip to content

no handler for "/pair-pin-start" #5

@warren-bank

Description

@warren-bank

Hi. First of all.. this is amazing work!

My test device is:

  • iPhone 8 running iOS 15.0.2

I compiled and tested a few of the demo servers..

  • vlcj-player
    • started perfectly..
    • screen mirroring failed
  • h264-dump
    • started perfectly..
    • size of dump.h264 is 0
    • text log file contains some interesting insight..

summary:

# request 1
GET /info RTSP/1.0
X-Apple-ProtocolVersion: 1
Content-Type: application/x-apple-binary-plist
CSeq: 0
DACP-ID: xxxxxxxxxx
Active-Remote: xxxxxxxxxx
User-Agent: AirPlay/566.25.21
content-length: 70, 70B

# response 1
RTSP/1.0 200 OK
CSeq: 0
content-length: 689, 689B

# request 2
POST /pair-pin-start RTSP/1.0
CSeq: 1
DACP-ID: xxxxxxxxxx
Active-Remote: xxxxxxxxxx
User-Agent: AirPlay/566.25.21
content-length: 0, 0B

# response 2: none

inspection of code:

  • PairingHandler
    • presumably, this class would be responsible for handling the "/pair-pin-start" request endpoint
    • but, it doesn't appear to be implemented

final thoughts:

  • I'm not an Apple user.. so I have no idea if there's some setting on the phone that I could change to cause AirPlayer to pair to the receiver using different endpoints that are implemented (ie: "/pair-setup" and "/pair-verify")
  • any insight would be appreciated
  • and again.. great work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions