Closed dmz94 closed 2 years ago
Knowing that you can see the logs indicating it's picking up the devices tells me the container is "working", but your apple devices are not seeing the targets. If you are in Host mode for the container, that should map on unRAID to a local port on the box, so it should be fine from a network reachability standpoint (aka no special ports). What is likely happening, is the mDNS service on your network isn't properly propagating the details the iOS devices need to identify the target. I'm not sure if that is an unRAID thing (possibly, it's been awhile since I've run it myself), it could be on the Router config, and/or it could be from the iOS devices being on wireless vs wired (still a router config scenario).
Just to clarify as I think I made an assumption here - are you only using Wifi on iOS devices? Do you have a Mac desktop/laptop enabled device to try? Or an ethernet adapter for iPad that can be used to test local network connectivity AirPlay targeting? Can help rule out if it's something specific to a wifi network and/or related to the Wifi.
@1activegeek - Thanks for the above and thanks for the docker! I do think it is a network / router issue as well
You have made the correct assumptions - I am using an iPhone and an iPad and they are on wireless. They can both see the TV that has AirPlay built in but no ChromCasts. I do not have an iOS laptop or desktop. I do not have an lighting/ethernet dongle...But could potentially see if friends have one I could borrow?
What ports need to be open in the router - if any - for AirConnect?
Is the TV on Wifi or hardwired? If Wifi, and (I assume the chrome casts are also wifi) - it could be possible the devices are not properly able to see/use mDNS of devices on the local physical ethernet network (I know wifi is connected to it, but there are separation layers of course) vs the Wifi. If on Ethernet, I'd probably be a bit more stumped as the actual airplay "target" should be the docker container on the host that would then parrot or replicate the sound to the chrome cast.
TVs are hardwired. Chromecasts are also on ethernet. UnRAID is on ethernet.
I will unhook one later today and see if that works when the TV and CC are on the WiFi.
.
Pulled the TV and Chromecast off the ethernet. Added to Wifi (and confirmed they were on WiFi).
Still did not show up.
Interesting - one because I wasn't even aware there were Chromecast devices with ethernet! 😆 But if all those devices are on local LAN, and the iOS devices are only on Wifi, then just the fact that the TV shows up on the phone, but not the Chromecast immediately makes it a bit weird. I'm not sure I have much more thought on what could be wrong. It seems correct - it may have to come down to running some TCPDumps off the router to identify what the traffic looks like and see if the AirPlay targets are properly being advertised. If not, then there may be something wrong on the container side for advertising the targets vs being able to reach out and find the Chromecasts.
I'm sure you likely did, but take a poke around on closed issues on my container repo on GH, and/or the unRAID forums. I feel like I do remember someone specifically having a similar type of issue and there was something they had restricting the unRAID box from properly advertising the targets even with Host mode. I have this slight bit of deja-vu to a similar scenario, but for the life of me I can't fully remember what it was, where I read it, or how it was fixed. 😞
Try to use a mDNS listener to see if he sees the proxied devices. Then use mine here https://github.com/philippe44/mDNS-SD as well to see if it spots them.
I downloaded this handy tool and here are the results:
I am trying to build your tool but having issues. I have not coded in 20+ years. It builds fine for W10 using Embarcadero C++ but crashed when I run it. I note there is a DLL - I cannot seem to add that to W10 and do not know how to build it into the app? And I cannot find the error messages to see why it is crashing.
You don't need to build my tool, all binaries are there. Re what your current tool is finding, it seems that the AirConnect devices are found
I have downloaed the Windows binary. It does not run on my Win10 machine. I also downloaded the DLL and tried to load that and that odes not work either. Maybe I am downloading it incorrectly....will try again.
If you have all DLLs downloaded but still missing an extra one (I think it might happen on Win10), it should tell you which one is missing
I have tried on two different W10 machines. When I run the executable - I see a "flash" like the app is trying to run but it then disappears. Is there a version for Android or iOS? I could also create a VM in unRAID and run it on a flavor of Linux?
Oh, you should run it in a command box, not just by clicking it
OK - that works - Thanks! But what should I put in for the parameters to get useful information to debug this please? Thanks!
"mdnssd-win _raop._tcp" to start with
Here is what it says...
Loft TV+ and Family Room TV+ are the two Chromecasts (probably obvious).
using interface 192.168.1.154
[192.168.1.115] 192.168.1.115 37649 CCCCAB24D084@Loft TV+._raop._tcp.local 0s ACTIVE
[192.168.1.115] 192.168.1.115 37649 CCCCAB24D084@Loft TV+._raop._tcp.local 0s EXPIRED
[192.168.1.115] 192.168.1.115 34115 CCCCCCE4B35F@Family room TV+._raop._tcp.local 0s ACTIVE
[192.168.1.115] 192.168.1.115 34115 CCCCCCE4B35F@Family room TV+._raop._tcp.local 0s EXPIRED
------------------------------
[192.168.1.115] 192.168.1.115 37649 CCCCAB24D084@Loft TV+._raop._tcp.local 3s EXPIRED
[192.168.1.115] 192.168.1.115 34115 CCCCCCE4B35F@Family room TV+._raop._tcp.local 3s EXPIRED
------------------------------
[192.168.1.115] 192.168.1.115 37649 CCCCAB24D084@Loft TV+._raop._tcp.local 3s EXPIRED
[192.168.1.115] 192.168.1.115 34115 CCCCCCE4B35F@Family room TV+._raop._tcp.local 3s EXPIRED
------------------------------
[192.168.1.115] 192.168.1.115 37649 CCCCAB24D084@Loft TV+._raop._tcp.local 3s EXPIRED
[192.168.1.115] 192.168.1.115 34115 CCCCCCE4B35F@Family room TV+._raop._tcp.local 3s EXPIRED
------------------------------
[192.168.1.115] 192.168.1.115 37649 CCCCAB24D084@Loft TV+._raop._tcp.local 3s EXPIRED
[192.168.1.115] 192.168.1.115 34115 CCCCCCE4B35F@Family room TV+._raop._tcp.local 3s EXPIRED
------------------------------
[192.168.1.115] 192.168.1.115 37649 CCCCAB24D084@Loft TV+._raop._tcp.local 3s EXPIRED
[192.168.1.115] 192.168.1.115 34115 CCCCCCE4B35F@Family room TV+._raop._tcp.local 3s EXPIRED
------------------------------
[192.168.1.115] 192.168.1.115 37649 CCCCAB24D084@Loft TV+._raop._tcp.local 4s EXPIRED
[192.168.1.115] 192.168.1.115 34115 CCCCCCE4B35F@Family room TV+._raop._tcp.local 4s EXPIRED
------------------------------
[192.168.1.115] 192.168.1.115 37649 CCCCAB24D084@Loft TV+._raop._tcp.local 4s EXPIRED
[192.168.1.115] 192.168.1.115 34115 CCCCCCE4B35F@Family room TV+._raop._tcp.local 4s EXPIRED
------------------------------
[192.168.1.115] 192.168.1.115 37649 CCCCAB24D084@Loft TV+._raop._tcp.local 7s EXPIRED
[192.168.1.115] 192.168.1.115 34115 CCCCCCE4B35F@Family room TV+._raop._tcp.local 7s EXPIRED
------------------------------
[192.168.1.115] 192.168.1.115 37649 CCCCAB24D084@Loft TV+._raop._tcp.local 8s EXPIRED
[192.168.1.115] 192.168.1.115 34115 CCCCCCE4B35F@Family room TV+._raop._tcp.local 8s EXPIRED
------------------------------
[192.168.1.115] 192.168.1.115 37649 CCCCAB24D084@Loft TV+._raop._tcp.local 10s EXPIRED
[192.168.1.115] 192.168.1.115 34115 CCCCCCE4B35F@Family room TV+._raop._tcp.local 10s EXPIRED
------------------------------
[192.168.1.115] 192.168.1.115 37649 CCCCAB24D084@Loft TV+._raop._tcp.local 10s EXPIRED
[192.168.1.115] 192.168.1.115 34115 CCCCCCE4B35F@Family room TV+._raop._tcp.local 10s EXPIRED
------------------------------
[192.168.1.115] 192.168.1.115 37649 CCCCAB24D084@Loft TV+._raop._tcp.local 10s EXPIRED
[192.168.1.115] 192.168.1.115 34115 CCCCCCE4B35F@Family room TV+._raop._tcp.local 10s EXPIRED
------------------------------
[192.168.1.115] 192.168.1.115 37649 CCCCAB24D084@Loft TV+._raop._tcp.local 10s EXPIRED
[192.168.1.115] 192.168.1.115 34115 CCCCCCE4B35F@Family room TV+._raop._tcp.local 10s EXPIRED
------------------------------
[192.168.1.115] 192.168.1.115 37649 CCCCAB24D084@Loft TV+._raop._tcp.local 10s EXPIRED
[192.168.1.115] 192.168.1.115 34115 CCCCCCE4B35F@Family room TV+._raop._tcp.local 10s EXPIRED
Sorry, I meant "mdnssd-win _raop._tcp.local". Services should not be expired
Here you go....192.168.1.115 is the unRAID server where the AirConnect docker is running.
C:\WINDOWS\system32>C:\Users\dzack\Desktop\mDNS-SD-2\bin\mdnssd-win.exe _raop._tcp.local
using interface 192.168.1.154
[192.168.1.115] 192.168.1.115 37649 CCCCAB24D084@Loft TV+._raop._tcp.local 0s ACTIVE
[192.168.1.115] 192.168.1.115 34115 CCCCCCE4B35F@Family room TV+._raop._tcp.local 0s ACTIVE
So everything is as expected for a computer connected to your network the way this Win10 machine is. Have you double checked the Ethernet-Wifi filtering and things like IGMP snooping & multicast?
"Have you double checked the Ethernet-Wifi filtering and things like IGMP snooping & multicast?"
As best as I can. I am on an ASUS RT-AC68U running Merlin. I can post in the Merlin group if you can explain what you mean by the above? I am pretty sure i have IGMP and multicast on. Not sure what "Ethernet-Wifi filtering" is?
I am also concerned about my ports - what ports should be open, if any, on the router?
@philippe44 - for grins, I went back and tried to see if this worked. It ALMOST works now.
It shows up on the TV (via the Chromecast). I can see a video window (but it is black but a pause icon appears briefly) and I can here the sound of the stream but it is very soft. This is a lot further in the process than before.
Now that it is doing this, any ideas or pointers on getting the actual video working and the volume level higher? Thanks!
It appears I am being an idiot and this is AUDIO only. Doh!!
Bummer but it now works (at least the audio). I wonder what changed on my network or the docker over the past few months.
Thanks!
First – many thanks for creating AirConnect. It is EXACTLY what I need and I can see from spending the morning trying to get it to work how popular and widely used it is. I am stuck and cannot get it to work – I am close. I am not sure if I should post here (probably not) as it is not an issue with AirConnect – it is probably “pilot error” on my part. But perhaps if I get it sorted this will help someone else.
I want to use AirConnect to enable my apple devices to communicate with two Chromecasts. These devices can see the “built in” AirPlay inside one of my newer TVs. But the two Chromecasts are not showing up via AIrConnect. Everything is on the sae LAN .
My Setup: I am running the docker from @1activegeek (big thanks!). I am running on unRAID. I have some log information below but it seems incomplete. I am making sure I am running in “host mode”. When I get to the console inside the docker, I can see it picks up the two Chromecasts.
I am happy to gather more data or answer additional questions....
My router is an ASUS RT-AC68U running Merlin. I suspect my issues is with the router. I have enabled IGMP Snooping and have the multicast rate set to “auto”. I have not messed with the IPTV settings in the LAN as I do not think that is applicable (“Enable multicast routing”).
I suspect I need to open my ports up a certain way but cannot quite figure out the settings? This is mentioned in the README but I do not quite get what needs to be done here?
If anyone has tips or advice, I would appreciate it. I know folks have this running on unRAID using the docker. And I suspect others also run Merlin on an ASUS router. Thoughts and ideas appreciated. I have been googling and trying things for hours with no joy – Thanks!