jbagg / QtZeroConf

Qt wrapper class for ZeroConf libraries across various platforms.
Other
69 stars 51 forks source link

Library does not broadcast on Android devices #28

Open qjcina opened 5 years ago

qjcina commented 5 years ago

Hello, I've tried to use this library on both Android and Apple devices. iOS and Mac is working fine, however on Android devices nothing happened - I've tried following "fixes":

Do you have any idea what might be wrong? Example does not work on Android as well (it runs but does not broadcast itself).

lenbrook commented 5 years ago

Hi, I just cloned head and tested the example on a Nexus 5, running 6.0.1, no issues. I also have a much more complicated app for discovering Bluesound devices which I built against head of QtZeroConf. Both work fine.

  1. Do you see other devices running the example on the network in the android app?
  2. When you tried iOS, what it on the same wifi router. Some routers to not bridge multicast traffic between wired and wireless.
  3. Do you know any java? 2 or 3 lines is enough to announce. You could make another app and run them at the same time (with different service names) and see what happens.