-
Notifications
You must be signed in to change notification settings - Fork 75
Bonjour service blink quickly #8
Comments
@andriydruk are you planning to work on this issue? We've integrated your library into our project and really love it. But it is really frustrating when bonjour devices frequently appear/disappear from the list. |
Actually, I can't reproduce it with my sample app |
@andriydruk I've modified your sample app in order to see all the added/removed services in the console log:
And that's what I received in the console:
As you see, device disappears and then appears back in 300 ms. If it wasn't reported by @NeoLSN before I'd say that this was a problem with our WiFi network. But since the same issue happens for another people I think this is a problem somewhere in the library. In addition, we didn't have such behavior when were using another Bonjour libraries. Tested on Samsung Galaxy S7 Edge Android 6.0.1. |
Ok, I see. It looks more like another way of broadcasting information in a network. I saw the similar behavior of Bonjour Sleep Proxy services. This is a way it works. I don't think it's an issue with the library. Furthermore, I don't write a library for discovering Bonjour Service I provide a wrapper for mDnsResponder which was developed by Apple. And it looks like a behavior of this library. The only thing I can do is check if there is a new version. I can recommend you to add some additional logic on your side. I've done this before in my commercial project for Bonjour Sleep Proxy. |
We've already done this. But I feel that this is not the way how it should be (if it is an issue and not the expected behavior of the network). |
I've pushed an update to master |
@andriydruk this update didn't help. I'd say it became even worse:
|
@gennadiiivanov Could you potentially work around this with the |
Can you help me to answer why the rxdnssd browser add/remove same service so quickly?
becvert/cordova-plugin-zeroconf#17
┆Issue is synchronized with this Asana task
The text was updated successfully, but these errors were encountered: