-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Description
Description
The webrtc-rs implementation has a few fundamental issues due to its design. async callbacks require locks and prevent the idiomatic use of &mut. This results in problems such as webrtc-rs/webrtc#413 which currently prevent us from upgrading to the latest version: #3552
The new kid on the block is str0m, a sans IO implementation of the webrtc stack: https://github.com/algesten/str0m
In the tests, it looks like they already support data channels, meaning we might be able to replace webrtc with it.
Motivation
webrtcis an extremely heavy dependency and it bloats our dependency tree- It doesn't follow idiomatic Rust and was hard to integrate into our codebase
- From the above follows: Easier maintenance
- A production-grade webrtc implementation
Related issues:
- webrtc: allow dialing without listening first #4071
- transport/webrtc: Short buffer to be filled #4049
Are you planning to do it yourself in a pull request?
No.
Ma233 and mathiversenmelekes, Ma233, ferrohd and PhearZeroMa233, ferrohd and mathiversen