-
Notifications
You must be signed in to change notification settings - Fork 164
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
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #754 +/- ##
==========================================
+ Coverage 78.63% 79.98% +1.35%
==========================================
Files 41 41
Lines 4769 5017 +248
==========================================
+ Hits 3750 4013 +263
+ 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 :)
- Rewrote `UnmarshalCandidate` to better align with RFC5245. - Added new methods for extracting candidate extensions. - Updated `Equal` and `Marshal` to accommodate these changes. - New Type `CandidateExtension` to handle. Signed-off-by: Joe Turki <[email protected]>
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 :) |
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