air-display / apsdk-public

A complete implementation of Airplay Server(Receiver)
GNU General Public License v2.0
46 stars 9 forks source link

Problem in connection #5

Open moreva1397 opened 7 months ago

moreva1397 commented 7 months ago

Hello, I have problem regarding the connection, the AirPlayServer init is okay, i can see my customized device through my iPhone ( it`s iPhone 15, iOS 17.3) but when i want to connect, immediately i get the "Unable to connect to 'my server name' " on the phone,

The test point is an android embedded device, that is using android 10 (API level 29)

I've tried the AirPlayConfig class and Also AirPlayConfig.DefaultInstance() tested, all of them shows the same problem

Regards.

tishion commented 7 months ago

https://github.com/air-display/apsdk-public?tab=readme-ov-file#about-fairplay

This repo doesn't provide the implementation of fairplay, so it is expected the connection will fail

fduncanh commented 5 months ago

@moreva1397 you can find an implementation of fairplay at https://github.com/EstebanKubata/playfair, or added to apsdk in a fork here

g-wellsa commented 1 month ago

i hava the same problem,When you click on a connection, it reports that you cannot connect 20:33:42.670 APS Session (0x6de0085898) accepted and started 20:33:42.672 APS ap_airplay_connection (0x6de00b2028) is being created 20:33:42.672 APS Session (0x6de00b2028) is waiting 20:33:42.697 APS ap_airplay_connection (0x6de0085898) is being destroyed

fduncanh commented 1 month ago

@g-wellsa apsdk is supplied in non-working form without a fairplay implementation. See previous comment