-
Notifications
You must be signed in to change notification settings - Fork 165
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
Parse Candidate Extensions (RFC5245) #754
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #754 +/- ##
==========================================
+ Coverage 78.63% 80.01% +1.37%
==========================================
Files 41 41
Lines 4769 5023 +254
==========================================
+ Hits 3750 4019 +269
+ Misses 785 775 -10
+ Partials 234 229 -5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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 a few minor suggestions. But looks good otherwise.
Nice, love these improvements :) Glad we can do this without API break. It means people don’t update and new versions don’t get improved :( |
a2e7c06
to
6528f3e
Compare
I added @Sean-Der @nils-ohlmeier let me know if there are other problems :) Thanks. |
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.
Looks good to me.
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.
Fantastic! This is great.
Sorry about the stress of APIs. It’s just so hard to fix them. We can always fix/improve code though.
Its nice to expose as little as possible until someone requests it :)
2b64677
to
dddadd5
Compare
@Sean-Der When you have a time can you take a look.
It's not stressing at all for me :)
This makes sense, Noted :) |
@JoeTurki sorry one last change to keep return types consistent. After that merge it! If we do have bugs/improvements to make we call roll forward :) sorry for all the rounds on this. |
no need to wait for another approval for me |
- Rewrote `UnmarshalCandidate` to better align with RFC5245. - Added Candidate `Extensions` and `GetExtension`. - Updated `Equal` and `Marshal` to accommodate these changes. - New Type `CandidateExtension` to handle.
ac1224f
to
ab6e243
Compare
@Sean-Der I now have a better understanding of how changes are made to the Pion API, I'll take all feedback into consideration to try to make future iterations shorter. Thanks! |
Description
UnmarshalCandidate
to better align with RFC5245.Equal
andMarshal
to accommodate these changes.CandidateExtension
.I'm aware this is a breaking change but this change is required for many issues like pion/webrtc#2993
Edit: I'll make it non breaking change tomorrow.
Reference issue
#753