Skip to content

How to use Rust webrtc-direct relay node with browser-to-browser connections #5480

Closed Answered by dariusc93
berendjan asked this question in Q&A
Discussion options

You must be logged in to vote

Your code looks fine from a glance but you would likely need to provide additional logs to the tool youre using to see what it is reporting when attempting to use the node as a relay and maybe from the local node too since NegotiationFailed usually means the protocols could not be agreed on and might give more insight to what is going on internally as well as the other side.

Do note, during my testing with using webrtc (or specifically, webrtc-direct) as a relay, I would get errors when attempting to connect to a peer through that relay. Likely due to the design and the lack of browser-to-browser, in which case I would suggest using the websocket transport if you need the relay until such…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by berendjan
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants