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

Issue 2947633003: Allow parsing empty RTCP TargetBitrate messages, but stop sending them. (Closed)

Created:
3 years, 6 months ago by sprang_webrtc
Modified:
3 years, 6 months ago
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, video-team_agora.io, danilchap, yujie_mao (webrtc), zhuangzesen_agora.io, zhengzhonghou_agora.io, tterriberry_mozilla.com, qiang.lu, niklas.enbom, peah-webrtc, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Allow parsing empty RTCP TargetBitrate messages, but stop sending them. Also, add ToString() convenience method to the target bitrate struct. Super useful when doing printf debugging :) BUG=webrtc:7858 Review-Url: https://codereview.webrtc.org/2947633003 Cr-Commit-Position: refs/heads/master@{#18717} Committed: https://chromium.googlesource.com/external/webrtc/+/d0fc37a8841ed70b5338ce80ac9c3e8ac139a310

Patch Set 1 #

Total comments: 6

Patch Set 2 : Shotgun fix: missing initializer for unrelated member #

Total comments: 2

Patch Set 3 : Addressed comments #

Total comments: 4

Patch Set 4 : Add comment about using ToString only in tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -17 lines) Patch
M webrtc/common_types.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/common_types.cc View 1 2 3 1 chunk +49 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_reports.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/target_bitrate.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/target_bitrate.cc View 1 2 3 chunks +1 line, -12 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/target_bitrate_unittest.cc View 2 chunks +8 lines, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_receiver.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/video/payload_router.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/video/payload_router_unittest.cc View 1 2 1 chunk +23 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (11 generated)
sprang_webrtc
3 years, 6 months ago (2017-06-20 09:15:26 UTC) #3
danilchap
lgtm https://codereview.webrtc.org/2947633003/diff/1/webrtc/common_types.h File webrtc/common_types.h (right): https://codereview.webrtc.org/2947633003/diff/1/webrtc/common_types.h#newcode634 webrtc/common_types.h:634: std::string ToString() const; may be also (or instead) ...
3 years, 6 months ago (2017-06-20 10:29:27 UTC) #4
danilchap
https://codereview.webrtc.org/2947633003/diff/20001/webrtc/modules/rtp_rtcp/source/rtcp_packet/target_bitrate.cc File webrtc/modules/rtp_rtcp/source/rtcp_packet/target_bitrate.cc (right): https://codereview.webrtc.org/2947633003/diff/20001/webrtc/modules/rtp_rtcp/source/rtcp_packet/target_bitrate.cc#newcode14 webrtc/modules/rtp_rtcp/source/rtcp_packet/target_bitrate.cc:14: #include "webrtc/base/logging.h" may be remove this include
3 years, 6 months ago (2017-06-20 10:32:07 UTC) #5
sprang_webrtc
+stefan as owner for webrtc/common_types https://codereview.webrtc.org/2947633003/diff/1/webrtc/common_types.h File webrtc/common_types.h (right): https://codereview.webrtc.org/2947633003/diff/1/webrtc/common_types.h#newcode634 webrtc/common_types.h:634: std::string ToString() const; On ...
3 years, 6 months ago (2017-06-20 15:24:34 UTC) #9
stefan-webrtc
https://codereview.webrtc.org/2947633003/diff/40001/webrtc/common_types.h File webrtc/common_types.h (right): https://codereview.webrtc.org/2947633003/diff/40001/webrtc/common_types.h#newcode641 webrtc/common_types.h:641: std::ostream& operator<<(std::ostream& os, const BitrateAllocation& bitrate); Where is this ...
3 years, 6 months ago (2017-06-22 11:10:38 UTC) #12
sprang_webrtc
https://codereview.webrtc.org/2947633003/diff/40001/webrtc/common_types.h File webrtc/common_types.h (right): https://codereview.webrtc.org/2947633003/diff/40001/webrtc/common_types.h#newcode641 webrtc/common_types.h:641: std::ostream& operator<<(std::ostream& os, const BitrateAllocation& bitrate); On 2017/06/22 11:10:38, ...
3 years, 6 months ago (2017-06-22 11:28:29 UTC) #13
stefan-webrtc
https://codereview.webrtc.org/2947633003/diff/40001/webrtc/common_types.h File webrtc/common_types.h (right): https://codereview.webrtc.org/2947633003/diff/40001/webrtc/common_types.h#newcode641 webrtc/common_types.h:641: std::ostream& operator<<(std::ostream& os, const BitrateAllocation& bitrate); On 2017/06/22 11:28:29, ...
3 years, 6 months ago (2017-06-22 11:38:12 UTC) #14
sprang_webrtc
https://codereview.webrtc.org/2947633003/diff/40001/webrtc/common_types.h File webrtc/common_types.h (right): https://codereview.webrtc.org/2947633003/diff/40001/webrtc/common_types.h#newcode641 webrtc/common_types.h:641: std::ostream& operator<<(std::ostream& os, const BitrateAllocation& bitrate); On 2017/06/22 11:38:12, ...
3 years, 6 months ago (2017-06-22 12:06:57 UTC) #15
stefan-webrtc
On 2017/06/22 12:06:57, sprang_webrtc wrote: > https://codereview.webrtc.org/2947633003/diff/40001/webrtc/common_types.h > File webrtc/common_types.h (right): > > https://codereview.webrtc.org/2947633003/diff/40001/webrtc/common_types.h#newcode641 > ...
3 years, 6 months ago (2017-06-22 12:09:42 UTC) #16
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/2947633003/60001
3 years, 6 months ago (2017-06-22 12:12:04 UTC) #19
commit-bot: I haz the power
3 years, 6 months ago (2017-06-22 12:40:31 UTC) #22
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/external/webrtc/+/d0fc37a8841ed70b5338ce80a...

Powered by Google App Engine
This is Rietveld 408576698