postlund / pyatv

A client library for Apple TV and AirPlay devices
https://pyatv.dev
MIT License
876 stars 95 forks source link

Audio not playing if auth-setup not completed for some receiver #1134

Closed postlund closed 3 years ago

postlund commented 3 years ago

Describe the bug When trying to stream to my receiver, an old Yamaha RX-V773, things seems to work just fine but no audio plays. If I however do not send /auth-setup (which is required on the AirPort Express) it works just fine. So I need to find a way to deal with this.

To Reproduce Play an audio file with atvremote stream_file=... and it won't work.

Expected behavior Audio should play as expected.

System Setup (please complete the following information):

Additional context No

Schlaubischlump commented 3 years ago

I think Raop-Player handles this case by checking the encryption type (et) zeroconf entry. Only MFi devices (et 4) require the auth-setup request.

postlund commented 3 years ago

I do that too, but the thing is that my receiver reports et=0,4 (just like the AirPort Express) and supports MFi authentication, but does not enforce it in any way. So the sender does not need to perform it. But if the sender initiates it, it seems like it must follow through.

postlund commented 3 years ago

Now fixed by #1145.