-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
transport-cc parsing to be compliant with libwebrtc, make transport-cc reference time to be unsigned, therefore fix 357. #899
Conversation
} | ||
}; | ||
|
||
for (const auto &packetMeta: feedbackPacketsMeta) { |
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.
Please run make lint
in worker/ directory. It should complain. make format
will fix it.
There are still lint errors: https://github.com/versatica/mediasoup/runs/8097882496?check_suite_focus=true
|
Note that you can use |
# Conflicts: # worker/test/src/RTC/RTCP/TestFeedbackRtpTransport.cpp
…presented as in libwebrtc.
Adopt changes to GetBaseDelta from versatica#900 Add tests for GetBaseDelta Wraparound.
Adopt changes to GetBaseDelta from versatica#900 Add tests for GetBaseDelta Wraparound.
This reverts commit b4b0ac8.
Adopt changes to GetBaseDelta from versatica#900 Add tests for GetBaseDelta Wraparound.
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. Just a cosmetic change requested. Also, if this PR fixes an existing issue in GH (I think there is a reported crash, am I right?) reference it in the PR description so it will be automatically closed. Tell me when those things are done and let's merge then.
|
Running! |
Please re-request review once tests pass. |
Will merge. Can you check this please? I think there is an open issue or PR (here in GH) that aims to fix an issue that may be fixed by this PR, but maybe I'm wrong. |
Oh, I request a change: please add a item in Changelog.md following the style of other items. |
Yes, i did that, also added in title. |
doing right now |
…c reference time to be unsigned, therefore fix 357. (versatica#899)
Changes and tests to make sure mediasoup is parsing transport-cc RTCP feedback packages the same way as libwebrtc does.
Metadata in commit was created by parsing buffers in libwebrtc project.
Also this PR includes changes #900 made by @penguinol.
This PR makes sure that there could be no negative reference time (event though https://datatracker.ietf.org/doc/html/draft-holmer-rmcat-transport-wide-cc-extensions-01#section-3.1 mandates that reference time is 24 bit signed integer, libwebrtc is ignoring that, and with with PR we too), and also handles wraparound, to be consistent with latest libwebrtc code. Therefore it rolls back mediasoup changes in libwebrtc related to #357, and #357 should never happen again.