philippe44 / AirConnect

Use AirPlay to stream to UPnP/Sonos & Chromecast devices
Other
3.46k stars 217 forks source link

No Airplay Targets seen on Mac #331

Closed nikramaditya closed 3 years ago

nikramaditya commented 3 years ago

Hello, I am unable to see any of my chromecasts as airplay targets on my mac, just my TV that supports airplay natively. I've read through a ton of similar issues and setups right here and cannot get it to work. -Using 1activegeek's AirConnect docker container installed on my UnRaid server -I have a Ubiquiti EdgeRouterX with one VLAN and no special rules/configs

When I manually run AirConnect this is the output:


[14:22:19.206192] main:975 no config file, using defaults
[14:22:19.206219] Start:728 Binding to 10.0.120.3
[14:22:27.818630] AddCastDevice:665 [0x692e70]: adding renderer (Office TV)
[14:22:27.818659] AddCastDevice:671 [0x692e70]: creating MAC 692e7a
[14:22:27.834940] AddCastDevice:665 [0x693808]: adding renderer (Bedroom Nest Mini)
[14:22:27.834954] AddCastDevice:671 [0x693808]: creating MAC 693812
[14:22:27.836040] AddCastDevice:665 [0x6941a0]: adding renderer (Kitchen Nest Mini)
[14:22:27.836051] AddCastDevice:671 [0x6941a0]: creating MAC 6941aa
[14:22:27.850607] AddCastDevice:665 [0x694b38]: adding renderer (Living Room Nest Hub)
[14:22:27.850618] AddCastDevice:671 [0x694b38]: creating MAC 694b42
[14:22:27.854650] AddCastDevice:665 [0x6954d0]: adding renderer (Office TV Legacy)
[14:22:27.854667] AddCastDevice:671 [0x6954d0]: creating MAC 6954da
[14:22:27.854848] AddCastDevice:665 [0x695e68]: adding renderer (Basement Home Mini)
[14:22:27.854860] AddCastDevice:671 [0x695e68]: creating MAC 695e72
[14:22:27.855135] AddCastDevice:665 [0x696800]: adding renderer (Office Home Mini)
[14:22:27.855146] AddCastDevice:671 [0x696800]: creating MAC 69680a
[14:22:27.860549] AddCastDevice:665 [0x697198]: adding renderer (Living Room TV)
[14:22:27.860563] AddCastDevice:671 [0x697198]: creating MAC 6971a2```

I'm pretty green when it comes to most of the things we're dealing with here so forgive me if I'm missing some critical information or making an obvious mistake.

Cheers,
Nik
philippe44 commented 3 years ago

According to the log, all your CC devices are found by AirConnect. The problem migh come from your mac. Does it work on your iPhone?

nikramaditya commented 3 years ago

Apologies for taking a minute and thanks for getting back. I just got a hold of an iphone to try and I'm seeing the same issue. The only airplay target I see is my TV with native airplay.

philippe44 commented 3 years ago

Can you describe a bit more your network topology / organization? It looks like the announce packets I'm sending are filtered out. Might happen in the UnRaid server or due to the Ubiquiti VLAN config. Look for anything that might filter out multicast or do IGMP snooping

nikramaditya commented 3 years ago

I can't seem to find anything indicating anything is filtering out multicast or is doing IGMP snooping. Checked UnRaid, Edgerouter X, and the UniFi AP.

I believe I have a completely flat topology (apologies if this is not what you were looking for): MacBook (Wireless) / Chromecasts <> UniFi AP <> EdgeRouter X <> MacBook (Wired)

philippe44 commented 3 years ago

Have you tried to run aircast of the Wireless MacBook? And Unifi definitvely has an option to enable IGMP snooping ( https://help.ui.com/hc/en-us/articles/115001529267-UniFi-Managing-Broadcast-Traffic)

nikramaditya commented 3 years ago

I just tried running it directly on my MacBook on wifi and it doesn't get past here:

[15:20:59.258883] main:956 Starting aircast version: v0.2.30.0 (Nov 26 2020 @ 17:03:32)
[15:20:59.259944] main:964 no config file, using defaults
[15:20:59.260146] Start:715 Binding to 192.168.11.204

Also I looked through that article and it seems to be related to UniFi Gateways/switches and not UniFi APs. Combing through some Ubiquiti community posts it seems that the EdgeRouter X may not have IGMP snooping (?).

Thanks for all the help so far!