How is the status of Transport maintained? #3879
-
Hello, I am a developer of https://github.com/RingsNetwork/rings-node. (It‘s still in the bootstrap phase. It may be a little messy.) We are trying to build a p2p network using WebRTC. We want to use the excellent rust-libp2p to help with our project development. While reading the code in In our project, we use this event function to notify an external module of remote connection closing. Does rust-libp2p use other mechanisms to detect transport disconnection? What happens if a peer closes the connection to a WebRTC transport? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Our WebRTC supports is primarily in alpha state because it has not yet been battle-tested. It may very well be that we don't react closed connections correctly. Personally, I am not very happy with how If you have WebRTC expertise, any help on that front would be much appreciated. |
Beta Was this translation helpful? Give feedback.
-
Also see #3875 for a similar discussion. |
Beta Was this translation helpful? Give feedback.
Our WebRTC supports is primarily in alpha state because it has not yet been battle-tested. It may very well be that we don't react closed connections correctly.
Personally, I am not very happy with how
webrtc-rs
is structured and I'd like to move tostr0m
: #3659If you have WebRTC expertise, any help on that front would be much appreciated.