Skip to content
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

resolve() is very slow on Android clients when called from the found event #106

Open
vindolin opened this issue Nov 20, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@vindolin
Copy link

vindolin commented Nov 20, 2024

Calling service.resolve() immediately from a found event takes up to a minute for Android clients to respond.
After a day of experimenting I found out that If I delay the call to service.resolve() for a minimum of 1000ms, it resolves instantly after the delay.
This only happens for Android clients in my test environment, Windows clients respond immediately every time.

Has anyone ever had similar problems?

@Skyost Skyost self-assigned this Dec 1, 2024
@Skyost Skyost added the bug Something isn't working label Dec 1, 2024
@Skyost
Copy link
Owner

Skyost commented Dec 1, 2024

Hey,

Bonsoir relies on Android's nsdManager.resolveService... so it may also depend on the device you're using.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants