-
Notifications
You must be signed in to change notification settings - Fork 25
Fix port zero when tranceiver stopping #228
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
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #228 +/- ##
==========================================
- Coverage 87.86% 87.77% -0.10%
==========================================
Files 54 54
Lines 2752 2756 +4
==========================================
+ Hits 2418 2419 +1
- Misses 334 337 +3
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
| # https://www.w3.org/TR/webrtc/#dfn-check-if-negotiation-is-needed | ||
| defp tr_negotiation_needed?([], _), do: false | ||
|
|
||
| defp tr_negotiation_needed?([tr | _transceivers], _state) when tr.stopping and not tr.stopped, |
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.
W3C, section 4.7.3
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.
Can we add a comment referencing this section?
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.
It's right above already, so I think we're good
mickel8
left a comment
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.
Nice!
| # https://www.w3.org/TR/webrtc/#dfn-check-if-negotiation-is-needed | ||
| defp tr_negotiation_needed?([], _), do: false | ||
|
|
||
| defp tr_negotiation_needed?([tr | _transceivers], _state) when tr.stopping and not tr.stopped, |
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.
Can we add a comment referencing this section?
As described here: https://www.w3.org/TR/webrtc/#methods-8
The zero port shouldn't be generated in the answer, if the transceiver is in the
stoppingstate.