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

Issue 2348623003: Unify rtcp packet setters (Closed)

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

Description

Unify rtcp packet setters Renamed setters in rtcp classes from WithField to SetField from WithItem to AddItem or SetItems from From to SetSenderSsrc from To to SetMediaSsrc Some redundant or unsued setters removed. Pass-by-const& replaced with pass-by-value when appropriate. BUG=webrtc:5260 Committed: https://crrev.com/20e77c7b8a9f19942ef3c3c4f1fa3888b2cd54ea Cr-Commit-Position: refs/heads/master@{#14393}

Patch Set 1 #

Patch Set 2 : Updated all packets and dependent code #

Patch Set 3 : nits #

Patch Set 4 : Comments #

Total comments: 4

Patch Set 5 : Jitters -> JitterValues #

Patch Set 6 : Restore TransportFeedback setters as deprecated #

Patch Set 7 : Rebase #

Patch Set 8 : +call/rtc_event_log_unittest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+664 lines, -679 lines) Patch
M webrtc/call/rtc_event_log_unittest.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -7 lines 0 comments Download
M webrtc/modules/pacing/packet_router.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc View 1 1 chunk +5 lines, -5 lines 0 comments Download
M webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy_unittest.cc View 1 9 chunks +9 lines, -9 lines 0 comments Download
M webrtc/modules/remote_bitrate_estimator/transport_feedback_adapter_unittest.cc View 1 6 chunks +25 lines, -25 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet.h View 1 2 3 1 chunk +6 lines, -6 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/app.h View 1 chunk +4 lines, -4 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/app.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/app_unittest.cc View 2 chunks +7 lines, -7 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/bye.h View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/bye.cc View 1 2 2 chunks +8 lines, -6 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/bye_unittest.cc View 7 chunks +16 lines, -20 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/compound_packet_unittest.cc View 1 4 chunks +11 lines, -11 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/dlrr.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/dlrr.cc View 1 2 chunks +5 lines, -5 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/dlrr_unittest.cc View 1 3 chunks +4 lines, -4 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_jitter_report.h View 1 2 3 4 3 chunks +5 lines, -3 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_jitter_report.cc View 1 2 3 4 2 chunks +6 lines, -4 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_jitter_report_unittest.cc View 1 2 3 4 1 chunk +10 lines, -12 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_reports.h View 1 1 chunk +4 lines, -4 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_reports.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_reports_unittest.cc View 1 11 chunks +38 lines, -38 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/fir.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/fir_unittest.cc View 1 2 chunks +5 lines, -5 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/nack_unittest.cc View 1 5 chunks +15 lines, -15 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/pli_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/psfb.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/rapid_resync_request_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/receiver_report.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/receiver_report.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/receiver_report_unittest.cc View 1 4 chunks +20 lines, -20 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/remb.h View 1 3 chunks +4 lines, -5 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/remb.cc View 1 2 chunks +5 lines, -13 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/remb_unittest.cc View 1 2 4 chunks +11 lines, -28 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/report_block.h View 1 1 chunk +7 lines, -7 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/report_block.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/report_block_unittest.cc View 1 2 chunks +9 lines, -9 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/rpsi.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/rpsi.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/rpsi_unittest.cc View 1 9 chunks +17 lines, -17 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/rrtr.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/rrtr_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/rtpfb.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/sdes.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/sdes.cc View 1 2 3 chunks +4 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/sdes_unittest.cc View 1 5 chunks +12 lines, -12 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.h View 1 1 chunk +6 lines, -6 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report_unittest.cc View 1 4 chunks +18 lines, -18 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/sli.h View 1 2 1 chunk +7 lines, -5 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/sli_unittest.cc View 1 2 chunks +6 lines, -6 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbn.h View 1 2 chunks +2 lines, -5 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbn.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbn_unittest.cc View 1 3 chunks +6 lines, -6 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbr.h View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbr.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbr_unittest.cc View 1 2 chunks +5 lines, -5 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h View 1 2 3 4 5 3 chunks +22 lines, -9 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.cc View 1 2 chunks +5 lines, -5 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback_unittest.cc View 1 6 chunks +30 lines, -30 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/voip_metric.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/voip_metric_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_receiver_unittest.cc View 1 50 chunks +172 lines, -172 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_sender.cc View 1 17 chunks +54 lines, -56 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl_unittest.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/video/end_to_end_tests.cc View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 20 (8 generated)
danilchap
Erik, before I update all the rtcp classed, do you agree this rename worth doing?
4 years, 3 months ago (2016-09-16 08:03:36 UTC) #2
sprang_webrtc
I'm a bit torn. On one hand I like the current naming style, it makes ...
4 years, 3 months ago (2016-09-16 08:28:15 UTC) #3
danilchap
On 2016/09/16 08:28:15, språng wrote: > I'm a bit torn. On one hand I like ...
4 years, 3 months ago (2016-09-16 14:58:18 UTC) #6
sprang_webrtc
On 2016/09/16 14:58:18, danilchap wrote: > On 2016/09/16 08:28:15, språng wrote: > > I'm a ...
4 years, 3 months ago (2016-09-16 15:37:18 UTC) #7
sprang_webrtc
https://codereview.webrtc.org/2348623003/diff/60001/webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_jitter_report.h File webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_jitter_report.h (right): https://codereview.webrtc.org/2348623003/diff/60001/webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_jitter_report.h#newcode33 webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_jitter_report.h:33: bool SetJitters(std::vector<uint32_t> jitters); nit: "jitters" is a somewhat overloaded ...
4 years, 3 months ago (2016-09-16 15:37:33 UTC) #8
danilchap
Stefan, can you approve this renames for modules/pacing/ modules/remote_bitrate_estimator/ video/end_to_end_tests.cc https://codereview.webrtc.org/2348623003/diff/60001/webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_jitter_report.h File webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_jitter_report.h (right): https://codereview.webrtc.org/2348623003/diff/60001/webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_jitter_report.h#newcode33 ...
4 years, 3 months ago (2016-09-16 16:27:49 UTC) #10
sprang_webrtc
lgtm https://codereview.webrtc.org/2348623003/diff/60001/webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_jitter_report.h File webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_jitter_report.h (right): https://codereview.webrtc.org/2348623003/diff/60001/webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_jitter_report.h#newcode33 webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_jitter_report.h:33: bool SetJitters(std::vector<uint32_t> jitters); On 2016/09/16 16:27:49, danilchap wrote: ...
4 years, 3 months ago (2016-09-18 19:13:58 UTC) #11
stefan-webrtc
lgtm, mostly looked at code not in rtp_rtcp.
4 years, 2 months ago (2016-09-26 13:14:16 UTC) #12
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/2348623003/130001
4 years, 2 months ago (2016-09-27 07:44:48 UTC) #15
commit-bot: I haz the power
Committed patchset #8 (id:130001)
4 years, 2 months ago (2016-09-27 08:37:45 UTC) #17
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/20e77c7b8a9f19942ef3c3c4f1fa3888b2cd54ea Cr-Commit-Position: refs/heads/master@{#14393}
4 years, 2 months ago (2016-09-27 08:37:58 UTC) #19
kjellander_webrtc
4 years, 2 months ago (2016-09-27 15:39:08 UTC) #20
Message was sent while issue was closed.
A revert of this CL (patchset #8 id:130001) has been created in
https://codereview.webrtc.org/2372713005/ by kjellander@webrtc.org.

The reason for reverting is: Breaks compilation of internal downstream project..

Powered by Google App Engine
This is Rietveld 408576698