Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(302)

Issue 2616343003: Refactor TransportFeedback ensuring it's consistency: (Closed)

Created:
3 years, 11 months ago by danilchap
Modified:
3 years, 11 months ago
Reviewers:
sprang_webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhuangzesen_agora.io, danilchap, stefan-webrtc, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Refactor TransportFeedback ensuring it's consistency: Removed const_cast while creating rtcp packet. This way manually created packet is as good as parsed packet and can be used in tests directly. To archive this, changed the way class stores deltas and their sizes: encoded chunks are stored directly for all but last chunk simplifying rtcp packet creation. deltas stored together with sequence_number that would allow to simplify reading them from the parsed packet. Fixed test for maximum received packets. BUG=None Review-Url: https://codereview.webrtc.org/2616343003 Cr-Commit-Position: refs/heads/master@{#16091} Committed: https://chromium.googlesource.com/external/webrtc/+/6deecb2a2f66312dfaf49e57e33c60c5e36cb7e4

Patch Set 1 : . #

Total comments: 1

Patch Set 2 : Add explicit modulo operation for time in us #

Patch Set 3 : 32bit oops #

Patch Set 4 : -unused headers #

Total comments: 22

Patch Set 5 : Comments #

Patch Set 6 : Fix time calculations on 32bit systems #

Patch Set 7 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+509 lines, -620 lines) Patch
M webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h View 1 2 3 4 5 6 4 chunks +32 lines, -43 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.cc View 1 2 3 4 5 6 10 chunks +469 lines, -573 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback_unittest.cc View 1 2 3 4 5 4 chunks +8 lines, -4 lines 0 comments Download

Messages

Total messages: 45 (39 generated)
danilchap
is it reviewable, or should I try splitting refactoring of the implementation into several steps? ...
3 years, 11 months ago (2017-01-11 17:11:57 UTC) #9
sprang_webrtc
Neat! Maybe update the cl description to indicate that we now store the encoded representation ...
3 years, 11 months ago (2017-01-12 13:18:46 UTC) #22
danilchap
https://codereview.webrtc.org/2616343003/diff/180001/webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.cc File webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.cc (right): https://codereview.webrtc.org/2616343003/diff/180001/webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.cc#newcode179 webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.cc:179: for (size_t i = 0; i < size_ - ...
3 years, 11 months ago (2017-01-16 09:45:15 UTC) #39
sprang_webrtc
lgtm https://codereview.webrtc.org/2616343003/diff/180001/webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h File webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h (right): https://codereview.webrtc.org/2616343003/diff/180001/webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h#newcode72 webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h:72: class LastChunk; On 2017/01/16 09:45:15, danilchap wrote: > ...
3 years, 11 months ago (2017-01-16 10:41:25 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2616343003/300001
3 years, 11 months ago (2017-01-16 11:14:27 UTC) #42
commit-bot: I haz the power
3 years, 11 months ago (2017-01-16 12:25:28 UTC) #45
Message was sent while issue was closed.
Committed patchset #7 (id:300001) as
https://chromium.googlesource.com/external/webrtc/+/6deecb2a2f66312dfaf49e57e...

Powered by Google App Engine
This is Rietveld 408576698