-
Notifications
You must be signed in to change notification settings - Fork 326
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
Use new pion/transport Net interface #271
Conversation
85e175e
to
47fc177
Compare
Codecov ReportBase: 68.65% // Head: 68.19% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #271 +/- ##
==========================================
- Coverage 68.65% 68.19% -0.46%
==========================================
Files 38 38
Lines 2469 2481 +12
==========================================
- Hits 1695 1692 -3
- Misses 641 653 +12
- Partials 133 136 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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.
Just one quick question. It all looks good to me.
Since, pion/transport is exposed by pion/turn through the ClientConfig struct, we will probably also need to bump the major version of pion/turn |
@Sean-Der What do you think about my previous comment? Is it justified to bump pion/turn to v3 because of the exposed |
@stv0g Sorry.. I couldn't reply to you fast enough.., but one way to address this breaking change is to introduce an interface that is compatible with *vnet.Net (a subset of transport.Net, such as transport.NetBase) first for the current major version (use type assertion inside), then in the subsequent major version change, we could replace it with the full interface, reject old vnet.Net without missing implementations)... See https://go.dev/play/p/CuaJbyBQCcl |
Hi @enobufs, I am not so sure if this would work. e.g. So the new At the same time, I am not so a big fan of dragging along these work-arounds as the |
Use new pion/transport Net interface
Handle errors during address resolution in tests
The new Net interface breaks compatability in v0. So a new v2 version was created.
@stv0g Let me dismiss the review (at least for now) as I am not convinced at this point that this is the right approach.
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.
Thanks for the patience. Let's us move forward. @Sean-Der a setting engine update incoming!
See pion/transport#204 for a detailed description