-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mDNS no longer working? #22
Comments
FYI, there is also a related discussion going on here: |
Though I think this issue does not have todo directly with node-castv2-client (since mDNS is not part of it). |
Yeah, I was quite confident that it was mit related to this client, since I could not find the mdns service via other tools either. But thanks for confirming. Seems I have to add DIAL to my project just for finding the device... Crap |
@queequac |
I can't reproduce the issue but you could try to sniff your local network with wireshark for both cases and see what differs. If you can isolate the relevant packets and post the cap files here it's even better :) |
@xat This is very strange... the chromecast-scanner returned only once in 20(!) runs the chromecast device, in any other case the service was undefined. :/ I wonder whats going on there. |
btw, wireshark has only shown the mdns response in the valid cases. Got a second successfull discovery in the meanwhile... the rate is below <5% for these. :( |
There may be a bug in the latest chromecast update that doesn't appear
|
I'm seeing similar issues with firmware However the devices still seems to announce itself over SSDP, so maybe chromecast-scanner could fallback to SSDP? |
does this code find your chromecast device? var Client = require('node-ssdp').Client
var client = new Client();
client.on('response', function (headers, statusCode, rinfo) {
console.log('chromecast running on address', rinfo.address);
client._stop();
});
client.search('urn:dial-multiscreen-org:service:dial:1'); |
Yup, but I had to wrap the search call in a setTimeout to prevent the process from exiting...
|
Okay, then I'll just make an (temporary) chromecast-scanner-ssdp module if the problem over at xat/castnow#61 still occurs. |
Add it as an option in |
ah, explicit option is a good idea :D |
What's the fix to get node-castv2-client working again then? I'm not following what the solution is from the above comments. Thanks. |
From yesterday on my Chromecast does no longer reply to any mDNS query. I have restarted it, plugged it off for a while, etc., but it is no longer discoverable this way.
The official Chromecast app and Youtube on Android still see it, the UPnP based DIAL Service is also still present and working.
Anybody else experiences this? Was there maybe some change within the device regarding discovery? My firmware version is 26653.
The text was updated successfully, but these errors were encountered: