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

Issue 2491293002: Make FlexFEC packets paceable through RTPSender. (Closed)

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

Description

Make FlexFEC packets paceable through RTPSender. Prior to this change, FlexFEC packets that were paced would be lost in the RTPSender, since they were not stored in a packet history. This CL introduces such a packet history, as well as the needed wireup for higher layers to be aware that the particular RTPSender is able to send FlexFEC packets with a particular SSRC. Updated RTPSender unit test to reflect the fact that paced packets are now actually sent. BUG=webrtc:5654 Committed: https://crrev.com/9dfff29bc4c8422a7e18827e325fb98fab80405b Cr-Commit-Position: refs/heads/master@{#15066}

Patch Set 1 #

Total comments: 6

Patch Set 2 : EXPECT -> ASSERT #

Total comments: 9

Patch Set 3 : Feedback response 1. #

Total comments: 15

Patch Set 4 : Feedback response 2. #

Patch Set 5 : Do not break PacketRouter unit test. #

Patch Set 6 : Rebase. #

Patch Set 7 : Feedback response 3. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -58 lines) Patch
M webrtc/modules/pacing/packet_router.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/include/flexfec_sender.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/include/rtp_rtcp.h View 2 chunks +4 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h View 2 chunks +2 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/flexfec_sender_unittest.cc View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc View 1 2 3 2 chunks +6 lines, -6 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender.h View 4 chunks +8 lines, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender.cc View 1 2 3 4 5 6 7 chunks +47 lines, -11 lines 1 comment Download
M webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc View 1 2 20 chunks +55 lines, -39 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender_video.h View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (13 generated)
brandtr
Final piece of the RTP puzzle! All of this stuff can be removed whenever we ...
4 years, 1 month ago (2016-11-10 13:34:14 UTC) #2
danilchap
https://codereview.webrtc.org/2491293002/diff/1/webrtc/modules/rtp_rtcp/source/rtp_sender.cc File webrtc/modules/rtp_rtcp/source/rtp_sender.cc (right): https://codereview.webrtc.org/2491293002/diff/1/webrtc/modules/rtp_rtcp/source/rtp_sender.cc#newcode908 webrtc/modules/rtp_rtcp/source/rtp_sender.cc:908: packet_history_.PutRtpPacket(std::move(packet), storage, true); On 2016/11/10 13:34:14, brandtr wrote: > ...
4 years, 1 month ago (2016-11-10 16:15:13 UTC) #3
brandtr
https://codereview.webrtc.org/2491293002/diff/1/webrtc/modules/rtp_rtcp/source/rtp_sender.cc File webrtc/modules/rtp_rtcp/source/rtp_sender.cc (right): https://codereview.webrtc.org/2491293002/diff/1/webrtc/modules/rtp_rtcp/source/rtp_sender.cc#newcode908 webrtc/modules/rtp_rtcp/source/rtp_sender.cc:908: packet_history_.PutRtpPacket(std::move(packet), storage, true); On 2016/11/10 16:15:13, danilchap wrote: > ...
4 years, 1 month ago (2016-11-11 10:28:16 UTC) #6
danilchap
lgtm https://codereview.webrtc.org/2491293002/diff/1/webrtc/modules/rtp_rtcp/source/rtp_sender.cc File webrtc/modules/rtp_rtcp/source/rtp_sender.cc (right): https://codereview.webrtc.org/2491293002/diff/1/webrtc/modules/rtp_rtcp/source/rtp_sender.cc#newcode44 webrtc/modules/rtp_rtcp/source/rtp_sender.cc:44: constexpr size_t kFlexfecPacketsToStoreBeforePacing = 50; On 2016/11/10 13:34:14, ...
4 years, 1 month ago (2016-11-11 15:26:06 UTC) #7
stefan-webrtc
lgtm https://codereview.webrtc.org/2491293002/diff/80001/webrtc/modules/rtp_rtcp/include/flexfec_sender.h File webrtc/modules/rtp_rtcp/include/flexfec_sender.h (right): https://codereview.webrtc.org/2491293002/diff/80001/webrtc/modules/rtp_rtcp/include/flexfec_sender.h#newcode41 webrtc/modules/rtp_rtcp/include/flexfec_sender.h:41: uint32_t Ssrc() const { return ssrc_; } Perhaps ...
4 years, 1 month ago (2016-11-13 13:38:18 UTC) #8
brandtr
Thanks for feedback. See answers, and question to danilchap. https://codereview.webrtc.org/2491293002/diff/1/webrtc/modules/rtp_rtcp/source/rtp_sender.cc File webrtc/modules/rtp_rtcp/source/rtp_sender.cc (right): https://codereview.webrtc.org/2491293002/diff/1/webrtc/modules/rtp_rtcp/source/rtp_sender.cc#newcode44 webrtc/modules/rtp_rtcp/source/rtp_sender.cc:44: ...
4 years, 1 month ago (2016-11-14 09:48:09 UTC) #10
danilchap
https://codereview.webrtc.org/2491293002/diff/80001/webrtc/modules/rtp_rtcp/source/rtp_sender.cc File webrtc/modules/rtp_rtcp/source/rtp_sender.cc (right): https://codereview.webrtc.org/2491293002/diff/80001/webrtc/modules/rtp_rtcp/source/rtp_sender.cc#newcode911 webrtc/modules/rtp_rtcp/source/rtp_sender.cc:911: if (ssrc == flexfec_ssrc) On 2016/11/14 09:48:09, brandtr wrote: ...
4 years, 1 month ago (2016-11-14 11:20:33 UTC) #11
brandtr
Rebase.
4 years, 1 month ago (2016-11-14 11:34:23 UTC) #12
brandtr
https://codereview.webrtc.org/2491293002/diff/220001/webrtc/modules/rtp_rtcp/source/rtp_sender.cc File webrtc/modules/rtp_rtcp/source/rtp_sender.cc (right): https://codereview.webrtc.org/2491293002/diff/220001/webrtc/modules/rtp_rtcp/source/rtp_sender.cc#newcode911 webrtc/modules/rtp_rtcp/source/rtp_sender.cc:911: if (storage == kAllowRetransmission) { I thought it was ...
4 years, 1 month ago (2016-11-14 12:36:20 UTC) #15
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/2491293002/220001
4 years, 1 month ago (2016-11-14 13:13:16 UTC) #22
commit-bot: I haz the power
Committed patchset #7 (id:220001)
4 years, 1 month ago (2016-11-14 13:14:53 UTC) #23
commit-bot: I haz the power
4 years, 1 month ago (2016-11-14 13:14:58 UTC) #25
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/9dfff29bc4c8422a7e18827e325fb98fab80405b
Cr-Commit-Position: refs/heads/master@{#15066}

Powered by Google App Engine
This is Rietveld 408576698