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

A Bonsoir service has been lost after 3500ms of discovering #109

Open
DJMontanova opened this issue Jan 8, 2025 · 0 comments
Open

A Bonsoir service has been lost after 3500ms of discovering #109

DJMontanova opened this issue Jan 8, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@DJMontanova
Copy link

Describe the bug
When I'm trying to discover _webrtc._udp. protocols on my local network, the discovery finds all the devices, but loses them after 3500ms, and re-finds them right after. The problem is that I resolve them when they appear for the first time to get their IP.
When the service is lost and re-found, it is already resolved, but its attributes are scrambled with attributes from another service.

image
On this image, you can see that the service is found et resolved, with clearly different attributes. After the service is lost and re-found at the bottom of the screen, the attributes are mixed.

To Reproduce
Steps to reproduce the behavior:
It can be reproduced by cloning the example project : https://github.com/Skyost/Bonsoir/tree/master/packages/bonsoir
Broadcast 2 services with the same type and different attributes, and launch a discovery for that type.
Better debug logs while did on an android smartphone due to the debug console.

Expected behavior
I do not want to lose the services after 3500ms.

Smartphone :

  • Device: Oppo Find X3 Pro
  • OS: Android 14, API 33
@DJMontanova DJMontanova added the bug Something isn't working label Jan 8, 2025
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