webrtc-rs / webrtc

A pure Rust implementation of WebRTC
https://webrtc.rs
Apache License 2.0
4.15k stars 370 forks source link

[ICE/DTLS/SCTP] refactoring internal protocol implementation with deterministic state machine and less Mutex #84

Open rainliu opened 3 years ago

rainliu commented 3 years ago

currently ICE/DTLS/SCTP implementations follow gorountine style, instead of idiomatic rust style. Try to refactor them to more idiomatic rust style with less Mutex.

rainliu commented 2 years ago

We should follow quinn's implementation: https://github.com/quinn-rs/quinn

ystreet commented 8 months ago

I have some work on this front (for ICE) in a separate repository if it would be interesting.

https://github.com/ystreet/librice/tree/main/librice-proto