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

Start mdns after setting listeners #312

Merged
merged 2 commits into from
Dec 12, 2024
Merged

Conversation

njooma
Copy link
Member

@njooma njooma commented Dec 11, 2024

According to the docs, you need to start mDNS AFTER setting listeners

@njooma njooma requested a review from acmorrow December 11, 2024 22:44
@njooma njooma requested a review from a team as a code owner December 11, 2024 22:44
Copy link
Member

@acmorrow acmorrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know enough about dart to take a position on the details of the code, but this does seem to bring it into alignment with the documented way of using the API. I also tested this locally, and with this change in place, a flutter app is able to discover a micro-rdk instance via mDNS running in the same isolated network, and then connect to it with WebRTC. Without this change, it doesn't ever manage to discover it.

LGTM and thanks for the quick fix!

@njooma njooma merged commit 36c087c into viamrobotics:main Dec 12, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants