-
Notifications
You must be signed in to change notification settings - Fork 16
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall this looks like a good improvement.
I'm curious to see how this will look when integrated in to the other webrtc-rs repositories. Are you creating sibling pull requests for this?
Codecov Report
@@ Coverage Diff @@
## main #27 +/- ##
==========================================
- Coverage 28.26% 28.17% -0.10%
==========================================
Files 16 16
Lines 4688 4643 -45
Branches 1153 1152 -1
==========================================
- Hits 1325 1308 -17
+ Misses 2954 2933 -21
+ Partials 409 402 -7
Continue to review full report at Codecov.
|
Will address requested changes and the CI failure later today. My bandwidth is a little limited at the moment, so while I'll likely make some sibling PRs to other repos, I can't guarantee how soon/if that will happen. I made this PR since I needed this crate in a project I'm working on and wanted to see these changes rendered if possible. |
The thing is, this project is directly consumed in the other webrtc-rs projects and as such merging it will require work in all upstream projects. I'm likewise strapped for bandwidth and won't have time to upstream these breaking changes. I'd be reluctant to merge this until we at least know the scope of the upstream changes required and whether the changes would be problematic to integrate in those projects. |
Actually, thinking about this. This is still an improvement even if you or I don't have time to upstream the changes atm. |
8b4116b should resolve all the feedback above. Let me know if you have any more questions/concerns.
It's also worth bearing in mind that it's unlikely that an individual or group of individuals would have the spare time to synchronously rework the API of this whole ecosystem niche, so most changes will probably have to be done incrementally :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥
So uh I'll fix the cargo format issue but not sure what to do about the fact that we hit an ICE in CI job EDIT: looks like it's a known issue rust-lang/rust#99263 |
We have migrated this crate to the monorepo(webrtc-rs/webrtc) please re-open this pull request over there. |
Primarily removes unnecessary use of dynamic dispatch, interior mutability, and async functions. As a result some public APIs have changed, generally making them more Rusty.