-
Notifications
You must be signed in to change notification settings - Fork 74
RxDNSSD Issues. #73
Comments
Hi
PS: did you consider to use NSDManager from Android instead of jmdns? |
@andriydruk First of all, I am testing with Pixel2 and it is the same phenomenon in all my phones. (Samsung Galaxy note 8, LG V50, Pixel1, etc.)
PS: Using NSDManager causes a TXT Record issue. So I can not use NSDManager. |
|
|
I didn't change any code except for a regType for my device. The log for Rx2DnssdEmbedded is like below. 06-21 10:53:10.887 I 24417 DNSSDEmbedded already started |
I can confirm the extension of loading time when repeatedly calling start/stop. Also a similar issue is with hosting a service. If one repeatedly starts and stops DNSSDEmbedded, the serviceRegistered callback is not called anymore. Scanning tested on Android 6 & 9, service registration on 8. |
So the registration seems to be not working, if the last service is still running (but to be closed). A listener on socket.stop() would be great here to check, if the old service terminated already. |
Service browsing shows a very strange behavior. Sometimes it is really fast and sometimes it just takes ages. |
Holy shots the bindable version is fast 👍 |
@PSGXerus |
But the bindable version never delivers a callback on a service registration. |
yea. So @andriydruk if you could fix the embedded version by any chance, this would be great. If we can help somehow, let us know. I also noticed your app on the play store has got the same issue. |
Also happens sometimes with multiple restarts: I/DNSSDEmbedded: init |
I considered completely switching to the bindable version till the embedded is fixed, but it can't register services. |
Ok, the registration with the bindable version works. Somehow the buggy DNSSDEmbedded cloaked my phone or router. After restart of both and clean install of my app, registration with the bindable version works flawless. |
@andriydruk |
com.github.druk.dnssd.AppleDNSSDException: DNS-SD Error -65540: BAD_PARAM This is my cod. any issue?
|
@abdur999 Please try Rx2DnssdBindable |
I am using jmdns to find devices. However, there is a problem that the device is not found sometimes, so I am wondering whether to use RxDNSSD.
I have tested the RxDNSSD and found the following problem.
Thanks in advance for your advice.
The text was updated successfully, but these errors were encountered: