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

Issue 2495553002: Add overhead per packet observer to the rtp_sender. (Closed)

Created:
4 years, 1 month ago by michaelt
Modified:
4 years, 1 month ago
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, danilchap, yujie_mao (webrtc), zhuangzesen_agora.io, stefan-webrtc, tterriberry_mozilla.com, qiang.lu, niklas.enbom, peah-webrtc, mflodman
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add overhead per packet observer to the rtp_sender. BUG=webrtc:6638 Committed: https://crrev.com/4da304407c993ccfc829bfe3f338b66a1f6c1a31 Cr-Commit-Position: refs/heads/master@{#15124}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Fix TransportSequenceNumbers bug. #

Total comments: 6

Patch Set 3 : Respond to comments. #

Patch Set 4 : Respond to comments. #

Total comments: 8

Patch Set 5 : Respond to comments. #

Total comments: 7

Patch Set 6 : Move overhead_size_observer_ check out of send_critsect_. #

Patch Set 7 : Rename RtpOverheadSizeChanged to UpdateRtpOverheadSize. #

Total comments: 16

Patch Set 8 : Respond to comments. #

Patch Set 9 : Renamed OverheadSizeObserver to OverheadObserver. #

Patch Set 10 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -44 lines) Patch
M webrtc/common_types.h View 1 2 3 4 5 6 7 8 9 1 chunk +8 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/include/rtp_rtcp.h View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender.h View 1 2 3 4 5 6 7 8 9 5 chunks +14 lines, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender.cc View 1 2 3 4 5 6 7 8 9 7 chunks +61 lines, -21 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc View 1 2 3 4 5 6 7 8 9 11 chunks +70 lines, -21 lines 0 comments Download

Messages

Total messages: 56 (32 generated)
michaelt
Hi, Here the first CL for adding overhead to BWE.
4 years, 1 month ago (2016-11-10 15:11:14 UTC) #5
minyue-webrtc
Good work! I have some naming suggestions. https://codereview.webrtc.org/2495553002/diff/80001/webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc File webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc (right): https://codereview.webrtc.org/2495553002/diff/80001/webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc#newcode1482 webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc:1482: TEST_F(RtpSenderTest, OnOverheadPerPacketChanged) ...
4 years, 1 month ago (2016-11-14 10:35:41 UTC) #27
michaelt
https://codereview.webrtc.org/2495553002/diff/80001/webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc File webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc (right): https://codereview.webrtc.org/2495553002/diff/80001/webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc#newcode1482 webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc:1482: TEST_F(RtpSenderTest, OnOverheadPerPacketChanged) { On 2016/11/14 10:35:41, minyue-webrtc wrote: > ...
4 years, 1 month ago (2016-11-14 10:56:37 UTC) #28
minyue-webrtc
It seems that some my earlier comments were missing, interesting, I add them back. PTAL. ...
4 years, 1 month ago (2016-11-14 11:18:06 UTC) #29
michaelt
https://codereview.webrtc.org/2495553002/diff/1/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h File webrtc/modules/rtp_rtcp/include/rtp_rtcp.h (right): https://codereview.webrtc.org/2495553002/diff/1/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h#newcode87 webrtc/modules/rtp_rtcp/include/rtp_rtcp.h:87: OverheadPerPacketObserver* overhead_per_packet_observer = nullptr; On 2016/11/14 11:18:06, minyue-webrtc wrote: ...
4 years, 1 month ago (2016-11-14 13:01:27 UTC) #30
stefan-webrtc
https://codereview.webrtc.org/2495553002/diff/120001/webrtc/modules/rtp_rtcp/source/rtp_sender.cc File webrtc/modules/rtp_rtcp/source/rtp_sender.cc (right): https://codereview.webrtc.org/2495553002/diff/120001/webrtc/modules/rtp_rtcp/source/rtp_sender.cc#newcode573 webrtc/modules/rtp_rtcp/source/rtp_sender.cc:573: if (has_transport_seq_no) { Could you please change seq_no to ...
4 years, 1 month ago (2016-11-15 09:59:48 UTC) #31
michaelt
https://codereview.webrtc.org/2495553002/diff/120001/webrtc/modules/rtp_rtcp/source/rtp_sender.cc File webrtc/modules/rtp_rtcp/source/rtp_sender.cc (right): https://codereview.webrtc.org/2495553002/diff/120001/webrtc/modules/rtp_rtcp/source/rtp_sender.cc#newcode573 webrtc/modules/rtp_rtcp/source/rtp_sender.cc:573: if (has_transport_seq_no) { On 2016/11/15 09:59:47, stefan-webrtc (holmer) wrote: ...
4 years, 1 month ago (2016-11-15 11:25:04 UTC) #32
stefan-webrtc
https://codereview.webrtc.org/2495553002/diff/140001/webrtc/modules/rtp_rtcp/source/rtp_sender.cc File webrtc/modules/rtp_rtcp/source/rtp_sender.cc (right): https://codereview.webrtc.org/2495553002/diff/140001/webrtc/modules/rtp_rtcp/source/rtp_sender.cc#newcode1244 webrtc/modules/rtp_rtcp/source/rtp_sender.cc:1244: if (!overhead_size_observer_ || There's no need to check the ...
4 years, 1 month ago (2016-11-15 11:50:14 UTC) #33
michaelt
https://codereview.webrtc.org/2495553002/diff/140001/webrtc/modules/rtp_rtcp/source/rtp_sender.cc File webrtc/modules/rtp_rtcp/source/rtp_sender.cc (right): https://codereview.webrtc.org/2495553002/diff/140001/webrtc/modules/rtp_rtcp/source/rtp_sender.cc#newcode1244 webrtc/modules/rtp_rtcp/source/rtp_sender.cc:1244: if (!overhead_size_observer_ || On 2016/11/15 11:50:14, stefan-webrtc (holmer) wrote: ...
4 years, 1 month ago (2016-11-15 12:34:26 UTC) #34
stefan-webrtc
lgtm, but please find a different name for RtpOverheadSizeChanged. See my suggestions. https://codereview.webrtc.org/2495553002/diff/140001/webrtc/modules/rtp_rtcp/source/rtp_sender.h File webrtc/modules/rtp_rtcp/source/rtp_sender.h ...
4 years, 1 month ago (2016-11-15 16:05:49 UTC) #35
michaelt
https://codereview.webrtc.org/2495553002/diff/140001/webrtc/modules/rtp_rtcp/source/rtp_sender.h File webrtc/modules/rtp_rtcp/source/rtp_sender.h (right): https://codereview.webrtc.org/2495553002/diff/140001/webrtc/modules/rtp_rtcp/source/rtp_sender.h#newcode266 webrtc/modules/rtp_rtcp/source/rtp_sender.h:266: void RtpOverheadSizeChanged(const RtpPacketToSend& packet); On 2016/11/15 16:05:49, stefan-webrtc (holmer) ...
4 years, 1 month ago (2016-11-15 16:18:54 UTC) #36
minyue-webrtc
https://codereview.webrtc.org/2495553002/diff/180001/webrtc/modules/rtp_rtcp/source/rtp_sender.cc File webrtc/modules/rtp_rtcp/source/rtp_sender.cc (right): https://codereview.webrtc.org/2495553002/diff/180001/webrtc/modules/rtp_rtcp/source/rtp_sender.cc#newcode1240 webrtc/modules/rtp_rtcp/source/rtp_sender.cc:1240: void RTPSender::SetTransportOverhead(int transport_overhead) { how about void RTPSender::SetTransportOverheadSize(size_t transport_overhead_bytes_per_packet) ...
4 years, 1 month ago (2016-11-16 08:48:59 UTC) #37
danilchap
https://codereview.webrtc.org/2495553002/diff/180001/webrtc/common_types.h File webrtc/common_types.h (right): https://codereview.webrtc.org/2495553002/diff/180001/webrtc/common_types.h#newcode306 webrtc/common_types.h:306: virtual void OnOverheadSizeChanged(int overhead_bytes_per_packet) = 0; size_t look like ...
4 years, 1 month ago (2016-11-16 08:55:05 UTC) #38
michaelt
https://codereview.webrtc.org/2495553002/diff/180001/webrtc/common_types.h File webrtc/common_types.h (right): https://codereview.webrtc.org/2495553002/diff/180001/webrtc/common_types.h#newcode306 webrtc/common_types.h:306: virtual void OnOverheadSizeChanged(int overhead_bytes_per_packet) = 0; On 2016/11/16 08:55:05, ...
4 years, 1 month ago (2016-11-16 09:27:09 UTC) #39
minyue-webrtc
https://codereview.webrtc.org/2495553002/diff/180001/webrtc/modules/rtp_rtcp/source/rtp_sender.cc File webrtc/modules/rtp_rtcp/source/rtp_sender.cc (right): https://codereview.webrtc.org/2495553002/diff/180001/webrtc/modules/rtp_rtcp/source/rtp_sender.cc#newcode1240 webrtc/modules/rtp_rtcp/source/rtp_sender.cc:1240: void RTPSender::SetTransportOverhead(int transport_overhead) { On 2016/11/16 09:27:09, michaelt wrote: ...
4 years, 1 month ago (2016-11-16 12:39:52 UTC) #40
michaelt
https://codereview.webrtc.org/2495553002/diff/180001/webrtc/modules/rtp_rtcp/source/rtp_sender.cc File webrtc/modules/rtp_rtcp/source/rtp_sender.cc (right): https://codereview.webrtc.org/2495553002/diff/180001/webrtc/modules/rtp_rtcp/source/rtp_sender.cc#newcode1240 webrtc/modules/rtp_rtcp/source/rtp_sender.cc:1240: void RTPSender::SetTransportOverhead(int transport_overhead) { Done https://codereview.webrtc.org/2495553002/diff/180001/webrtc/modules/rtp_rtcp/source/rtp_sender.cc#newcode1246 webrtc/modules/rtp_rtcp/source/rtp_sender.cc:1246: if (rtp_overhead_bytes_per_packet_ ...
4 years, 1 month ago (2016-11-16 13:29:37 UTC) #41
minyue-webrtc
https://codereview.webrtc.org/2495553002/diff/180001/webrtc/modules/rtp_rtcp/source/rtp_sender.cc File webrtc/modules/rtp_rtcp/source/rtp_sender.cc (right): https://codereview.webrtc.org/2495553002/diff/180001/webrtc/modules/rtp_rtcp/source/rtp_sender.cc#newcode1240 webrtc/modules/rtp_rtcp/source/rtp_sender.cc:1240: void RTPSender::SetTransportOverhead(int transport_overhead) { On 2016/11/16 13:29:37, michaelt wrote: ...
4 years, 1 month ago (2016-11-16 15:13:38 UTC) #42
michaelt
https://codereview.webrtc.org/2495553002/diff/180001/webrtc/modules/rtp_rtcp/source/rtp_sender.cc File webrtc/modules/rtp_rtcp/source/rtp_sender.cc (right): https://codereview.webrtc.org/2495553002/diff/180001/webrtc/modules/rtp_rtcp/source/rtp_sender.cc#newcode1240 webrtc/modules/rtp_rtcp/source/rtp_sender.cc:1240: void RTPSender::SetTransportOverhead(int transport_overhead) { On 2016/11/16 15:13:38, minyue-webrtc wrote: ...
4 years, 1 month ago (2016-11-17 08:25:53 UTC) #43
minyue-webrtc
lgtm thanks!
4 years, 1 month ago (2016-11-17 08:42:35 UTC) #44
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/2495553002/220001
4 years, 1 month ago (2016-11-17 08:53:00 UTC) #47
commit-bot: I haz the power
Try jobs failed on following builders: ios32_sim_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios32_sim_dbg/builds/12583) ios_arm64_dbg on master.tryserver.webrtc (JOB_FAILED, ...
4 years, 1 month ago (2016-11-17 08:53:56 UTC) #49
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/2495553002/240001
4 years, 1 month ago (2016-11-17 09:08:15 UTC) #52
commit-bot: I haz the power
Committed patchset #10 (id:240001)
4 years, 1 month ago (2016-11-17 09:38:47 UTC) #54
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 09:38:54 UTC) #56
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/4da304407c993ccfc829bfe3f338b66a1f6c1a31
Cr-Commit-Position: refs/heads/master@{#15124}

Powered by Google App Engine
This is Rietveld 408576698