xat/chromecast-scanner

not able to scan my chromecast device with scanner.js when I use hotspot

PraveenkumarDonga opened this issue · 0 comments

Hi!
I am working on casting videos to TV with chrome-cast.
I connected the chromecast device to the D-Link router and trying to scan my device with my laptop which is also connected to the same router. I am getting the mac and ip addresses of chromecast properly.

Now, I had removed the router and connected the Ethernet cable to my laptop(with ubuntu16.04) and running a hotspot with hostapd and my chromecast device is connected to the wifi which is coming from this accesspoint. Now I am trying to scan my device with this scanner module but I am getting Errors.

with host-apd access point:
error

firewall is disabled and these iptable rules are added
sudo /sbin/iptables -A INPUT -p udp --dport 5353 -j ACCEPT
sudo /sbin/iptables -A INPUT -p tcp --match multiport --dports 4100:4105 -j ACCEPT

with router:
error2

Could any one please help me with this?

Thanks,
Praveen.