GithubHelp home page GithubHelp logo

Comments (16)

kostadin24 avatar kostadin24 commented on September 1, 2024

On Samsung Galaxy Tab S2 with android 7.0
works for 1 minute and stops. Begin to work only after device restart.

from rxdnssd.

andriydruk avatar andriydruk commented on September 1, 2024

Hi, did you have this issue with both Bindable and Embedded versions?
I tested with Samsung Edge 7 with Android 8.0.0, don't have any issues
Did you make discovering in the foreground? Did you have issues in my app Service Browser?

from rxdnssd.

kostadin24 avatar kostadin24 commented on September 1, 2024

from rxdnssd.

kostadin24 avatar kostadin24 commented on September 1, 2024

from rxdnssd.

andriydruk avatar andriydruk commented on September 1, 2024

What about another library? Did you try jmdns or Android NSD? Does it start quick?

from rxdnssd.

kostadin24 avatar kostadin24 commented on September 1, 2024

Have a lot of work this days. Hope to find time to test it.

from rxdnssd.

kostadin24 avatar kostadin24 commented on September 1, 2024

Yesterday made a lot of manual tests on Samsung Galaxy Tab A1 and S2. Starting and stopping app. Looks like engine initialization hang. Sometimes starts /embedded/ and returns services for 100-200ms. Sometimes for 30-40 seconds. And many times with nothing after waiting several minutes.
Same behaviour when test ServiceBrowser/both from google play and from github/.
Sadly this is not reproduced on other samsung devices - even from same model/os/build etc.

from rxdnssd.

kostadin24 avatar kostadin24 commented on September 1, 2024

We probably have bad hardware here. Devices working fine with Xiaomi and not worlking at all with Samsung. Testers analyzed network traffic and result is - Xiaomi device can ping mDNS devices, but Samsung fails in almost all tests.

from rxdnssd.

kostadin24 avatar kostadin24 commented on September 1, 2024

My coworker user Wireshark to watch network.
In case with Samsung devices - mDNS responses are longer than responses with non Samsung devices.

Attached file is with Samsung devices.
mdns_issue

from rxdnssd.

kostadin24 avatar kostadin24 commented on September 1, 2024

Is it easy to debug app?

from rxdnssd.

andriydruk avatar andriydruk commented on September 1, 2024

Yes, just add a breakpoint in Java or C code in Android Studio
and choose `Debugger Type' == Dual

Did you have a chance to try jmdns or Android NSD?

from rxdnssd.

kostadin24 avatar kostadin24 commented on September 1, 2024

Protocol IGMP is missing on problematic devices. Without ICMP works very rarely. With IGMP works better/again not 100% but 70-80%/.

from rxdnssd.

kostadin24 avatar kostadin24 commented on September 1, 2024

Comparing network messages with iOS -> IGMP is not implemented on many android devices and may be is involved.

from rxdnssd.

andriydruk avatar andriydruk commented on September 1, 2024

Samsung Galaxy S8 as well? I heard about devices that don't support multicasts, but I've never had access to one.

It would be nice if we have an ability to detect a device that doesn't support IGMP and show a message to a user

from rxdnssd.

kostadin24 avatar kostadin24 commented on September 1, 2024

Unfortunately I found issue 2 weeks before release date :(
Maybe brute force scan will be used in case of no mDNS devices found.

from rxdnssd.

kostadin24 avatar kostadin24 commented on September 1, 2024

Finally - some of android devices/mostly Samsung with android 8.0 and 8.1/ use IGMPv3 with broken logic.
Devices that implement IGMPv2 and IGMPv3 works fine at all. But some devices have version of android that use IGMPv3 with strangle broken behaviour. This causes router to not send them multicast packages.
So because this is in operating system - we can not fix this. In case of IGMPv3 with broken logic - will use other ways for discovery.

from rxdnssd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.