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

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

Open
Tracked by #1
rainliu opened this issue Sep 15, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@rainliu
Copy link
Member

rainliu commented Sep 15, 2021

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 rainliu changed the title [ICE/DTLS/SCTP] refactoring internal with deterministic state machine [ICE/DTLS/SCTP] refactoring internal protocol with deterministic state machine Sep 15, 2021
@rainliu rainliu changed the title [ICE/DTLS/SCTP] refactoring internal protocol with deterministic state machine [ICE/DTLS/SCTP] refactoring internal protocol implementation with deterministic state machine Sep 15, 2021
@rainliu rainliu added the enhancement New feature or request label Sep 27, 2021
@rainliu rainliu changed the title [ICE/DTLS/SCTP] refactoring internal protocol implementation with deterministic state machine [ICE/DTLS/SCTP] refactoring internal protocol implementation with deterministic state machine and less Mutex Sep 27, 2021
@rainliu rainliu pinned this issue Sep 27, 2021
@rainliu rainliu mentioned this issue Sep 27, 2021
41 tasks
@rainliu rainliu unpinned this issue Oct 23, 2021
@rainliu
Copy link
Member Author

rainliu commented Nov 20, 2021

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

  • quinn-proto: Deterministic state machine of the protocol which performs no I/O internally and is suitable for use with custom event loops (and potentially a C or C++ API).
  • quinn: High-level async API based on tokio, see for usage. This will be used by most developers. (Basic benchmarks are included.)

@ystreet
Copy link

ystreet commented Mar 5, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants