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

RSDK-8469 - Fix offline dial #128

Merged
merged 3 commits into from
Aug 19, 2024
Merged

Conversation

stuqdog
Copy link
Member

@stuqdog stuqdog commented Aug 14, 2024

Adds support for loopback candidates in webRTC, allowing us to establish webRTC connections via mDNS in offline scenarios. Previously, offline connectivity only worked via gRPC in rust-utils.

Note that this relies on fixes to the upstream webrtc-rs crate which have not yet been merged. As such, we have to point to my branch of the webrtc crate in Cargo.toml. It might be good to consider whether we merge this to a separate branch than main, or hold off on merging until upstream fixes are merged. Either way, it seemed good to have this up at least so people can look and use as necessary.

The upstream fix, if anyone cares to see, is located at webrtc-rs/webrtc#603

@stuqdog stuqdog requested a review from a team as a code owner August 14, 2024 14:06
Copy link
Member

@purplenicole730 purplenicole730 left a comment

Choose a reason for hiding this comment

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

Looks good from what I could tell, I have to admit there's a knowledge gap

@lia-viam
Copy link

LGTM from me too, maybe worth waiting for it to land in the mainline release? I'm seeing that your PR was merged yesterday

@stuqdog
Copy link
Member Author

stuqdog commented Aug 19, 2024

LGTM from me too, maybe worth waiting for it to land in the mainline release? I'm seeing that your PR was merged yesterday

Yeah I'm gonna update to point to that commit in their github repo, but probably won't wait until they do an actual release (those tend to be pretty infrequent and I'd like to get this out sooner rather than later).

We can always update to point to the official release once it goes out.

@stuqdog stuqdog merged commit bd8cba7 into viamrobotics:main Aug 19, 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