-
Notifications
You must be signed in to change notification settings - Fork 41
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
duplicate mdns browse entries #13
Comments
ok, this is caused when you have 2 network interfaces up... |
so now in mdns_rtpmidi.cpp , I log the interface number, so we can at least see why we are getting duplicates ;) it does not however resolve the underlying issue. what to do? a) change warning in OP? (say it could be from a different interface?) a - easy, but a bit messy? c - feels right? EDIT: --host does not appear to do the trick... not sure it is suppose to or not ;) |
I would go for option B + C. B because an user might want to export over WiFi and Ethernet at the same time (my DeepMind12D and some other Ethernet Synth). Or serve as a bridge. So at least I would add a "W" or "E" to the connection.. (E1, E2 if there are several?). I would not use full device name as it can be "wlp58s0". If we can mark them using avahi. On your case you have WiFi and Ethernet. For RTPMidi you might not want WiFi, but it's better to give the option to the user. So if in the port name we have a mark, on the other side you can do an informed decision. But, as in your case, you already know you don't want to export over WiFi, so if at command line you decide not to export on WiFi (or only export of Ethernet), then no need to also say the interface. --host might be the way to do it, but you need to know which interface has the given host.. I don't remember if we can force Avahi to only export on some interfaces. I think that "--host" is legacy code from the old mdns code. I just did a test and we can remove right now --host and everything compiles. Or reuse it. |
Hi, after a lot of work I just relased a new version, but since some time ago it shows only one mDNS entry, and try to connect in order of discovery. Normally the first will be the fastest route, but who knows. There is still no way to force one path over another, but now that we have them listed (for example using rtpmidid-cli status), it will be easy to develop some control option to disable some specific IP. |
this might lead to other issues?
it looks like its the same service twice, and this leads to the error/warning
[2019-11-22T19:31:20Z] [rtpmidid.cpp:181] Trying to add again rtpmidi 192.168.1.94:5004 server. Quite probably mDNS re announce. Maybe somebody ask, or just periodically.
Ive checked its not an Ipv6 vs Ipv4
its feels like there should be a way to differentiate between the the two services, and make them unique?
The text was updated successfully, but these errors were encountered: