-
Notifications
You must be signed in to change notification settings - Fork 213
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
trying to discover chromecasts. No results? #20
Comments
I've seen them not appear till I open an application on android that can cast (though not always), and seem to have less success on osx than linux. Here is the code we're using - https://github.com/ninjasphere/driver-go-chromecast/blob/master/driver.go#L40 |
@elliots did you try |
I have now done some debugging. printing out things in the query function for loop in client.go.
The real answers from chromecast using dig shows this:
Which means that mdns tries to lookup PRT record for Vardagsrummet._googlecast._tcp.local. when it should try to find the SRV record? |
Ok i've now fixed chromecast support in mdns in my fork in this commit. Really simple change: Querying first PRT, then TXT then SRV and then A. But since i dont have any other mdns records to query i cannot know how much ive broken! |
@jonaz looks good, my chromecast driver is working well now. It also works fine the one other place I'm using it (to find other instances of our own product on the network). I did see it come up with more than I asked for a few times (records that don't match my query) but I think I'd seen that previously... |
Im having trouble using mdns to discover my chromecasts.
First i thought the issue was related to \032 (asci space). But when i renamed chromecast without spaces i still get nothing.
Have anyone else had issues with chromecasts?
This is an output from dig.
The text was updated successfully, but these errors were encountered: