openairplay / airplay2-receiver

AirPlay 2 Receiver - Python implementation
2.13k stars 133 forks source link

Fix iOS 15 Issue & Add PTP Master Toggle #40

Closed TheSpookyCat closed 3 years ago

TheSpookyCat commented 3 years ago

This PR adds two things to address two separate issues that can easily be mistaken as one issue.

  1. A command-line argument to prevent announcing the receiver as the PTP master, which I have found is not currently working whatsoever.
  2. The necessary attributes have been added to the Hap object so that music streaming from iOS 15, whilst Feat.Ft46HkPairing is enabled, streaming does not fail unexpectedly.

This addresses #29 in its entirety and part of the problem for #38.