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

Issue 2437503004: Set actual transport overhead in rtp_rtcp (Closed)

Created:
4 years, 2 months ago by michaelt
Modified:
4 years, 1 month ago
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, danilchap, yujie_mao (webrtc), zhuangzesen_agora.io, Andrew MacDonald, zhengzhonghou_agora.io, henrika_webrtc, stefan-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, peah-webrtc, minyue-webrtc, the sun, perkj_webrtc, mflodman
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Set actual transport overhead in rtp_rtcp BUG=webrtc:6557 Committed: https://crrev.com/79e05888e8f47ac7e19eb10decf0f1b490aa31ca Cr-Commit-Position: refs/heads/master@{#14968}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Respond to commetns of the sun. #

Patch Set 3 : Respond to comments #

Total comments: 4

Patch Set 4 : responde to comments #

Total comments: 6

Patch Set 5 : respond to comments. #

Total comments: 5

Patch Set 6 : Responde to comments. #

Total comments: 6

Patch Set 7 : Save selected candidate pair in transport channel. #

Total comments: 7

Patch Set 8 : Response to comments of honghaiz3 #

Total comments: 8

Patch Set 9 : renamed function + rebased #

Patch Set 10 : Add unittest for changing transport overhead. #

Total comments: 4

Patch Set 11 : Change OnTransportOverheadChange to OnTransportOverheadChanged. #

Patch Set 12 : Fix bugs discoverd with unittest. #

Total comments: 2

Patch Set 13 : Rename SignalTransportOverheadChanged to UpdateTransportOverhead. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+268 lines, -14 lines) Patch
M webrtc/audio/audio_send_stream.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/audio/audio_send_stream.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +5 lines, -0 lines 0 comments Download
M webrtc/call.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/call/call.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +27 lines, -0 lines 0 comments Download
M webrtc/media/base/fakemediaengine.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +9 lines, -0 lines 0 comments Download
M webrtc/media/base/mediachannel.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/media/base/rtpdataengine.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/media/engine/fakewebrtccall.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -0 lines 0 comments Download
M webrtc/media/engine/fakewebrtccall.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +16 lines, -0 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +6 lines, -0 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +7 lines, -0 lines 0 comments Download
M webrtc/media/sctp/sctpdataengine.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/include/rtp_rtcp.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +3 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 10 11 12 1 chunk +11 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/test/testAPI/test_api.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M webrtc/pc/channel.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +3 lines, -0 lines 0 comments Download
M webrtc/pc/channel.cc View 1 2 3 4 5 6 7 8 9 10 11 12 7 chunks +57 lines, -14 lines 0 comments Download
M webrtc/pc/channel_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/pc/srtpfilter.h View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -0 lines 0 comments Download
M webrtc/pc/srtpfilter.cc View 1 2 3 4 5 6 7 8 2 chunks +15 lines, -0 lines 0 comments Download
M webrtc/test/mock_voe_channel_proxy.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/video/video_send_stream.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/video/video_send_stream.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +16 lines, -0 lines 0 comments Download
M webrtc/video/video_send_stream_tests.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +42 lines, -0 lines 0 comments Download
M webrtc/voice_engine/channel.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/voice_engine/channel.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/voice_engine/channel_proxy.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/voice_engine/channel_proxy.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 77 (34 generated)
michaelt
Hi, Here a cl which set transport overhead in the rtp_rtcp module.
4 years, 2 months ago (2016-10-19 10:34:59 UTC) #5
the sun
lgtm % comments for the audio stuff https://codereview.webrtc.org/2437503004/diff/1/webrtc/audio/audio_send_stream.cc File webrtc/audio/audio_send_stream.cc (right): https://codereview.webrtc.org/2437503004/diff/1/webrtc/audio/audio_send_stream.cc#newcode282 webrtc/audio/audio_send_stream.cc:282: int transport_overhead_per_packet_byte) ...
4 years, 2 months ago (2016-10-20 08:56:46 UTC) #9
michaelt
https://codereview.webrtc.org/2437503004/diff/1/webrtc/audio/audio_send_stream.cc File webrtc/audio/audio_send_stream.cc (right): https://codereview.webrtc.org/2437503004/diff/1/webrtc/audio/audio_send_stream.cc#newcode282 webrtc/audio/audio_send_stream.cc:282: int transport_overhead_per_packet_byte) { On 2016/10/20 08:56:46, the sun wrote: ...
4 years, 2 months ago (2016-10-20 09:38:05 UTC) #10
minyue-webrtc
Good work % a comment https://codereview.webrtc.org/2437503004/diff/1/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h File webrtc/modules/rtp_rtcp/include/rtp_rtcp.h (right): https://codereview.webrtc.org/2437503004/diff/1/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h#newcode114 webrtc/modules/rtp_rtcp/include/rtp_rtcp.h:114: virtual int32_t SetTransportOverhead( Removing/Modifying ...
4 years, 2 months ago (2016-10-20 09:45:22 UTC) #11
the sun
https://codereview.webrtc.org/2437503004/diff/1/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h File webrtc/modules/rtp_rtcp/include/rtp_rtcp.h (right): https://codereview.webrtc.org/2437503004/diff/1/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h#newcode114 webrtc/modules/rtp_rtcp/include/rtp_rtcp.h:114: virtual int32_t SetTransportOverhead( On 2016/10/20 09:45:22, minyue-webrtc wrote: > ...
4 years, 2 months ago (2016-10-20 10:40:52 UTC) #12
minyue-webrtc
https://codereview.webrtc.org/2437503004/diff/40001/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h File webrtc/modules/rtp_rtcp/include/rtp_rtcp.h (right): https://codereview.webrtc.org/2437503004/diff/40001/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h#newcode117 webrtc/modules/rtp_rtcp/include/rtp_rtcp.h:117: // Returns -1 on failure else 0 add todo ...
4 years, 2 months ago (2016-10-20 12:24:21 UTC) #15
michaelt
https://codereview.webrtc.org/2437503004/diff/40001/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h File webrtc/modules/rtp_rtcp/include/rtp_rtcp.h (right): https://codereview.webrtc.org/2437503004/diff/40001/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h#newcode117 webrtc/modules/rtp_rtcp/include/rtp_rtcp.h:117: // Returns -1 on failure else 0 On 2016/10/20 ...
4 years, 2 months ago (2016-10-20 13:28:04 UTC) #18
the sun
Still lgtm, but I had some more comments https://codereview.chromium.org/2437503004/diff/60001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc File webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc (right): https://codereview.chromium.org/2437503004/diff/60001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc#newcode449 webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc:449: if ...
4 years, 2 months ago (2016-10-24 08:35:36 UTC) #19
michaelt
https://codereview.chromium.org/2437503004/diff/60001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc File webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc (right): https://codereview.chromium.org/2437503004/diff/60001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc#newcode449 webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc:449: if (transport_overhead_per_packet_byte == packet_overhead_) { On 2016/10/24 08:35:35, the ...
4 years, 2 months ago (2016-10-24 09:15:26 UTC) #20
minyue
lgtm
4 years, 1 month ago (2016-10-26 09:46:10 UTC) #22
stefan-webrtc
+honghai for OWNER review of webrtc/pc/* https://codereview.webrtc.org/2437503004/diff/80001/webrtc/pc/channel.cc File webrtc/pc/channel.cc (right): https://codereview.webrtc.org/2437503004/diff/80001/webrtc/pc/channel.cc#newcode1671 webrtc/pc/channel.cc:1671: constexpr int kSrtpAuthOverhaed ...
4 years, 1 month ago (2016-10-26 15:08:41 UTC) #24
honghaiz3
https://codereview.webrtc.org/2437503004/diff/80001/webrtc/pc/channel.cc File webrtc/pc/channel.cc (right): https://codereview.webrtc.org/2437503004/diff/80001/webrtc/pc/channel.cc#newcode1671 webrtc/pc/channel.cc:1671: constexpr int kSrtpAuthOverhaed = 4; On 2016/10/26 15:08:41, stefan-webrtc ...
4 years, 1 month ago (2016-10-26 17:44:56 UTC) #25
michaelt
https://codereview.webrtc.org/2437503004/diff/80001/webrtc/pc/channel.cc File webrtc/pc/channel.cc (right): https://codereview.webrtc.org/2437503004/diff/80001/webrtc/pc/channel.cc#newcode1671 webrtc/pc/channel.cc:1671: constexpr int kSrtpAuthOverhaed = 4; According to https://tools.ietf.org/html/rfc3711, SRTP ...
4 years, 1 month ago (2016-10-27 13:05:17 UTC) #26
honghaiz3
https://codereview.webrtc.org/2437503004/diff/100001/webrtc/pc/channel.cc File webrtc/pc/channel.cc (right): https://codereview.webrtc.org/2437503004/diff/100001/webrtc/pc/channel.cc#newcode1678 webrtc/pc/channel.cc:1678: transport_channel_->GetStats(&connection_infos); Does it make sense to just remember the ...
4 years, 1 month ago (2016-10-27 18:57:44 UTC) #27
michaelt
https://codereview.webrtc.org/2437503004/diff/100001/webrtc/pc/channel.cc File webrtc/pc/channel.cc (right): https://codereview.webrtc.org/2437503004/diff/100001/webrtc/pc/channel.cc#newcode1678 webrtc/pc/channel.cc:1678: transport_channel_->GetStats(&connection_infos); store now the last signaled candidate pair in ...
4 years, 1 month ago (2016-10-31 09:59:26 UTC) #28
honghaiz3
https://codereview.webrtc.org/2437503004/diff/100001/webrtc/pc/channel.h File webrtc/pc/channel.h (right): https://codereview.webrtc.org/2437503004/diff/100001/webrtc/pc/channel.h#newcode364 webrtc/pc/channel.h:364: int GetTransportOverheadPerPacket(const Candidate& local_candidate); Remove this method declaration. https://codereview.webrtc.org/2437503004/diff/120001/webrtc/p2p/base/transportchannel.h ...
4 years, 1 month ago (2016-10-31 17:42:09 UTC) #29
michaelt
https://codereview.webrtc.org/2437503004/diff/100001/webrtc/pc/channel.h File webrtc/pc/channel.h (right): https://codereview.webrtc.org/2437503004/diff/100001/webrtc/pc/channel.h#newcode364 webrtc/pc/channel.h:364: int GetTransportOverheadPerPacket(const Candidate& local_candidate); On 2016/10/31 17:42:09, honghaiz3 wrote: ...
4 years, 1 month ago (2016-11-01 08:31:37 UTC) #30
stefan-webrtc
I'd prefer if we added a test of this new Call API, for instance in ...
4 years, 1 month ago (2016-11-02 13:21:43 UTC) #31
michaelt
https://codereview.webrtc.org/2437503004/diff/140001/webrtc/audio/audio_send_stream.h File webrtc/audio/audio_send_stream.h (right): https://codereview.webrtc.org/2437503004/diff/140001/webrtc/audio/audio_send_stream.h#newcode60 webrtc/audio/audio_send_stream.h:60: void SetTransportOverhead(int transport_overhead_per_packet_byte); _byte should indicate that the size ...
4 years, 1 month ago (2016-11-02 13:35:34 UTC) #32
honghaiz3
lgtm on the pc dir.
4 years, 1 month ago (2016-11-02 13:40:54 UTC) #33
stefan-webrtc
https://codereview.webrtc.org/2437503004/diff/140001/webrtc/media/engine/webrtcvideoengine2.cc File webrtc/media/engine/webrtcvideoengine2.cc (right): https://codereview.webrtc.org/2437503004/diff/140001/webrtc/media/engine/webrtcvideoengine2.cc#newcode1529 webrtc/media/engine/webrtcvideoengine2.cc:1529: call_->SignalTransportOverheadChange(webrtc::MediaType::VIDEO, On 2016/11/02 13:35:34, michaelt wrote: > On 2016/11/02 ...
4 years, 1 month ago (2016-11-02 13:41:09 UTC) #34
michaelt
https://codereview.webrtc.org/2437503004/diff/140001/webrtc/media/engine/webrtcvideoengine2.cc File webrtc/media/engine/webrtcvideoengine2.cc (right): https://codereview.webrtc.org/2437503004/diff/140001/webrtc/media/engine/webrtcvideoengine2.cc#newcode1529 webrtc/media/engine/webrtcvideoengine2.cc:1529: call_->SignalTransportOverheadChange(webrtc::MediaType::VIDEO, On 2016/11/02 13:41:09, stefan-webrtc (holmer) wrote: > On ...
4 years, 1 month ago (2016-11-02 15:13:38 UTC) #35
stefan-webrtc
Will you add the test I requested in this CL?
4 years, 1 month ago (2016-11-02 15:15:43 UTC) #36
michaelt
Sorry I missed this message. Did we introduce a new API because the encryption overhead ...
4 years, 1 month ago (2016-11-02 15:23:54 UTC) #37
stefan-webrtc
lgtm
4 years, 1 month ago (2016-11-03 13:36:38 UTC) #38
minyue-webrtc
I rely on Stefan and Honghai in the actual calculation of header size. I only ...
4 years, 1 month ago (2016-11-03 14:01:53 UTC) #39
michaelt
https://codereview.webrtc.org/2437503004/diff/180001/webrtc/media/sctp/sctpdataengine.h File webrtc/media/sctp/sctpdataengine.h (right): https://codereview.webrtc.org/2437503004/diff/180001/webrtc/media/sctp/sctpdataengine.h#newcode166 webrtc/media/sctp/sctpdataengine.h:166: virtual void OnTransportOverheadChange(int transport_overhead_per_packet) {} On 2016/11/03 14:01:53, minyue-webrtc ...
4 years, 1 month ago (2016-11-03 14:33:23 UTC) #40
minyue-webrtc
lgtm
4 years, 1 month ago (2016-11-03 14:51:38 UTC) #41
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/2437503004/200001
4 years, 1 month ago (2016-11-03 14:52:13 UTC) #44
commit-bot: I haz the power
Try jobs failed on following builders: linux_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_rel/builds/19850)
4 years, 1 month ago (2016-11-03 15:17:46 UTC) #46
michaelt
Hi had to change the impl of the CL a little. Since I discover some ...
4 years, 1 month ago (2016-11-07 09:21:55 UTC) #47
michaelt
honghai, I would like you take a look again.
4 years, 1 month ago (2016-11-07 09:30:36 UTC) #48
honghaiz3
lgtm https://codereview.webrtc.org/2437503004/diff/220001/webrtc/pc/channel.cc File webrtc/pc/channel.cc (right): https://codereview.webrtc.org/2437503004/diff/220001/webrtc/pc/channel.cc#newcode595 webrtc/pc/channel.cc:595: SignalTransportOverheadChanged(); I prefer SignalXXXX being reserved for names ...
4 years, 1 month ago (2016-11-07 18:56:14 UTC) #49
michaelt
https://codereview.webrtc.org/2437503004/diff/220001/webrtc/pc/channel.cc File webrtc/pc/channel.cc (right): https://codereview.webrtc.org/2437503004/diff/220001/webrtc/pc/channel.cc#newcode595 webrtc/pc/channel.cc:595: SignalTransportOverheadChanged(); On 2016/11/07 18:56:14, honghaiz3 wrote: > I prefer ...
4 years, 1 month ago (2016-11-08 08:29:31 UTC) #50
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/2437503004/240001
4 years, 1 month ago (2016-11-08 08:52:52 UTC) #57
commit-bot: I haz the power
Try jobs failed on following builders: win_x64_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_x64_dbg/builds/2917)
4 years, 1 month ago (2016-11-08 08:58:04 UTC) #59
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/2437503004/260001
4 years, 1 month ago (2016-11-08 09:30:21 UTC) #63
commit-bot: I haz the power
Try jobs failed on following builders: ios64_sim_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios64_sim_dbg/builds/12284) ios_arm64_dbg on master.tryserver.webrtc (JOB_FAILED, ...
4 years, 1 month ago (2016-11-08 09:32:34 UTC) #65
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/2437503004/280001
4 years, 1 month ago (2016-11-08 10:20:29 UTC) #69
commit-bot: I haz the power
Try jobs failed on following builders: mac_baremetal on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_baremetal/builds/15941)
4 years, 1 month ago (2016-11-08 10:29:43 UTC) #71
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/2437503004/280001
4 years, 1 month ago (2016-11-08 10:34:11 UTC) #73
commit-bot: I haz the power
Committed patchset #13 (id:280001)
4 years, 1 month ago (2016-11-08 10:50:14 UTC) #75
commit-bot: I haz the power
4 years, 1 month ago (2016-11-08 10:50:27 UTC) #77
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/79e05888e8f47ac7e19eb10decf0f1b490aa31ca
Cr-Commit-Position: refs/heads/master@{#14968}

Powered by Google App Engine
This is Rietveld 408576698