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

Issue 2553863003: Parse FlexFEC RTP headers in Call and add integration with BWE. (Closed)

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

Description

Parse FlexFEC RTP headers in Call and add integration with BWE. BUG=webrtc:5654 Review-Url: https://codereview.webrtc.org/2553863003 Cr-Commit-Position: refs/heads/master@{#15709} Committed: https://chromium.googlesource.com/external/webrtc/+/ab2ffa3b28b55ef359232723049fb88b2dcd807a

Patch Set 1 : Work in progress. #

Total comments: 23

Patch Set 2 : Rebase and changes, including adressing danilchap's early comments. #

Total comments: 16

Patch Set 3 : nisse comments 1. #

Total comments: 12

Patch Set 4 : philipel comments 1 + danilchap comments 2. LACKING TESTS. #

Total comments: 14

Patch Set 5 : Rebase onto master. #

Patch Set 6 : danilchap comments 2. #

Total comments: 8

Patch Set 7 : danilchap comments 3. #

Patch Set 8 : Rebase and update to new interface of RtpPacketReceived. #

Patch Set 9 : Rebase fixes: flexfec_receive_stream.h moved out of api/call/. #

Patch Set 10 : More rebase fixes in flexfec_receive_stream_impl.h #

Patch Set 11 : holmer comments 1. #

Patch Set 12 : Add NotifyBweOfReceivedPacket to mock. #

Total comments: 5

Patch Set 13 : holmer comments 2. #

Patch Set 14 : Polish. #

Patch Set 15 : Fix fuzzer. #

Patch Set 16 : Rebase. #

Patch Set 17 : Add basic CongestionController unit test, based on nisse's suggestion. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+295 lines, -166 lines) Patch
M webrtc/call/call.cc View 1 2 3 4 5 6 7 8 9 10 11 12 12 chunks +102 lines, -19 lines 0 comments Download
M webrtc/call/flexfec_receive_stream.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M webrtc/call/flexfec_receive_stream_impl.h View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -2 lines 0 comments Download
M webrtc/call/flexfec_receive_stream_impl.cc View 1 2 3 4 5 6 7 8 6 chunks +13 lines, -12 lines 0 comments Download
M webrtc/call/flexfec_receive_stream_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +18 lines, -23 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/congestion_controller/congestion_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +17 lines, -0 lines 0 comments Download
M webrtc/modules/congestion_controller/congestion_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +40 lines, -0 lines 0 comments Download
M webrtc/modules/congestion_controller/include/congestion_controller.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/modules/congestion_controller/include/mock/mock_congestion_controller.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +5 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/include/flexfec_receiver.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +5 lines, -5 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/flexfec_receiver.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 6 chunks +22 lines, -34 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 27 chunks +52 lines, -68 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_packet.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_packet.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/test/fuzzers/flexfec_receiver_fuzzer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +5 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 65 (33 generated)
danilchap
https://codereview.webrtc.org/2553863003/diff/1/webrtc/call/call.cc File webrtc/call/call.cc (right): https://codereview.webrtc.org/2553863003/diff/1/webrtc/call/call.cc#newcode274 webrtc/call/call.cc:274: RtpHeaderExtensionMap CreateRtpHeaderExtensionMap( this function implemented as a constructor of ...
4 years ago (2016-12-06 15:04:30 UTC) #1
brandtr
This is another take on CLs 2, 3, 4, in the previous batch(*). Instead of ...
4 years ago (2016-12-12 13:51:08 UTC) #10
nisse-webrtc
https://codereview.webrtc.org/2553863003/diff/80001/webrtc/call/call.cc File webrtc/call/call.cc (right): https://codereview.webrtc.org/2553863003/diff/80001/webrtc/call/call.cc#newcode522 webrtc/call/call.cc:522: CongestionController::UseSendSideBwe( On 2016/12/12 13:51:08, brandtr wrote: > Nisse: please ...
4 years ago (2016-12-13 10:32:32 UTC) #11
brandtr
https://codereview.webrtc.org/2553863003/diff/80001/webrtc/call/call.cc File webrtc/call/call.cc (right): https://codereview.webrtc.org/2553863003/diff/80001/webrtc/call/call.cc#newcode522 webrtc/call/call.cc:522: CongestionController::UseSendSideBwe( On 2016/12/13 10:32:32, nisse-webrtc wrote: > On 2016/12/12 ...
4 years ago (2016-12-13 11:05:49 UTC) #12
nisse-webrtc
https://codereview.webrtc.org/2553863003/diff/100001/webrtc/modules/congestion_controller/congestion_controller.cc File webrtc/modules/congestion_controller/congestion_controller.cc (right): https://codereview.webrtc.org/2553863003/diff/100001/webrtc/modules/congestion_controller/congestion_controller.cc#newcode272 webrtc/modules/congestion_controller/congestion_controller.cc:272: // Has the RTP header extension been negotiated? Do ...
4 years ago (2016-12-13 11:46:42 UTC) #13
brandtr
Thanks for quick feedback! https://codereview.webrtc.org/2553863003/diff/100001/webrtc/modules/congestion_controller/congestion_controller.cc File webrtc/modules/congestion_controller/congestion_controller.cc (right): https://codereview.webrtc.org/2553863003/diff/100001/webrtc/modules/congestion_controller/congestion_controller.cc#newcode272 webrtc/modules/congestion_controller/congestion_controller.cc:272: // Has the RTP header ...
4 years ago (2016-12-13 12:37:36 UTC) #14
nisse-webrtc
https://codereview.webrtc.org/2553863003/diff/100001/webrtc/modules/congestion_controller/congestion_controller.cc File webrtc/modules/congestion_controller/congestion_controller.cc (right): https://codereview.webrtc.org/2553863003/diff/100001/webrtc/modules/congestion_controller/congestion_controller.cc#newcode272 webrtc/modules/congestion_controller/congestion_controller.cc:272: // Has the RTP header extension been negotiated? On ...
4 years ago (2016-12-13 12:59:14 UTC) #15
brandtr
On 2016/12/13 12:59:14, nisse-webrtc wrote: > https://codereview.webrtc.org/2553863003/diff/100001/webrtc/modules/congestion_controller/congestion_controller.cc > File webrtc/modules/congestion_controller/congestion_controller.cc (right): > > https://codereview.webrtc.org/2553863003/diff/100001/webrtc/modules/congestion_controller/congestion_controller.cc#newcode272 > ...
4 years ago (2016-12-13 13:29:52 UTC) #16
philipel
https://codereview.webrtc.org/2553863003/diff/100001/webrtc/call/call.cc File webrtc/call/call.cc (right): https://codereview.webrtc.org/2553863003/diff/100001/webrtc/call/call.cc#newcode378 webrtc/call/call.cc:378: arrival_time_ms = clock_->TimeInMilliseconds(); It looks like Call::DeliverRtp takes a ...
4 years ago (2016-12-13 13:58:27 UTC) #17
danilchap
for RtpPacketReceived that is a step towards my thoughts where it should be used. Next ...
4 years ago (2016-12-13 14:11:24 UTC) #18
brandtr
Please have a second look :) I have moved the BWE notification from FlexfecReceiver to ...
4 years ago (2016-12-14 12:55:49 UTC) #22
brandtr
Rebase onto master.
4 years ago (2016-12-14 13:02:56 UTC) #23
nisse-webrtc
On 2016/12/14 12:55:49, brandtr wrote: > Please have a second look :) > > I ...
4 years ago (2016-12-14 13:12:56 UTC) #24
brandtr
On 2016/12/14 13:12:56, nisse-webrtc wrote: > On 2016/12/14 12:55:49, brandtr wrote: > > Please have ...
4 years ago (2016-12-14 13:19:45 UTC) #25
danilchap
https://codereview.webrtc.org/2553863003/diff/180001/webrtc/call/call.cc File webrtc/call/call.cc (right): https://codereview.webrtc.org/2553863003/diff/180001/webrtc/call/call.cc#newcode379 webrtc/call/call.cc:379: uint32_t ssrc = ByteReader<uint32_t>::ReadBigEndian(&packet[8]); there is no need to ...
4 years ago (2016-12-14 13:39:02 UTC) #26
brandtr
https://codereview.webrtc.org/2553863003/diff/180001/webrtc/call/call.cc File webrtc/call/call.cc (right): https://codereview.webrtc.org/2553863003/diff/180001/webrtc/call/call.cc#newcode379 webrtc/call/call.cc:379: uint32_t ssrc = ByteReader<uint32_t>::ReadBigEndian(&packet[8]); On 2016/12/14 13:39:02, danilchap wrote: ...
4 years ago (2016-12-14 14:08:31 UTC) #27
danilchap
RtpPacketReceived usage lgtm %nit https://codereview.webrtc.org/2553863003/diff/220001/webrtc/call/call.cc File webrtc/call/call.cc (right): https://codereview.webrtc.org/2553863003/diff/220001/webrtc/call/call.cc#newcode379 webrtc/call/call.cc:379: RtpPacketReceived parsed_packet(nullptr); sorry for incomplete ...
4 years ago (2016-12-15 10:23:47 UTC) #28
philipel
lgtm
4 years ago (2016-12-15 11:44:46 UTC) #29
brandtr
https://codereview.webrtc.org/2553863003/diff/220001/webrtc/call/call.cc File webrtc/call/call.cc (right): https://codereview.webrtc.org/2553863003/diff/220001/webrtc/call/call.cc#newcode379 webrtc/call/call.cc:379: RtpPacketReceived parsed_packet(nullptr); On 2016/12/15 10:23:47, danilchap wrote: > sorry ...
4 years ago (2016-12-16 12:48:52 UTC) #30
brandtr
Rebase fixes: flexfec_receive_stream.h moved out of api/call/.
4 years ago (2016-12-19 09:30:04 UTC) #31
stefan-webrtc
https://codereview.webrtc.org/2553863003/diff/220001/webrtc/call/call.cc File webrtc/call/call.cc (right): https://codereview.webrtc.org/2553863003/diff/220001/webrtc/call/call.cc#newcode1222 webrtc/call/call.cc:1222: void Call::NotifyBweOfReceivedPacket(const RtpPacketReceived& packet) { Should we make this ...
4 years ago (2016-12-19 11:03:42 UTC) #32
brandtr
https://codereview.webrtc.org/2553863003/diff/220001/webrtc/call/call.cc File webrtc/call/call.cc (right): https://codereview.webrtc.org/2553863003/diff/220001/webrtc/call/call.cc#newcode1222 webrtc/call/call.cc:1222: void Call::NotifyBweOfReceivedPacket(const RtpPacketReceived& packet) { On 2016/12/19 11:03:42, stefan-webrtc ...
4 years ago (2016-12-19 13:26:17 UTC) #33
stefan-webrtc
https://codereview.webrtc.org/2553863003/diff/220001/webrtc/call/call.cc File webrtc/call/call.cc (right): https://codereview.webrtc.org/2553863003/diff/220001/webrtc/call/call.cc#newcode1228 webrtc/call/call.cc:1228: if (!transport_wide && !abs_send_time && !t_offset) On 2016/12/19 13:26:17, ...
4 years ago (2016-12-19 14:03:31 UTC) #34
brandtr
https://codereview.webrtc.org/2553863003/diff/220001/webrtc/call/call.cc File webrtc/call/call.cc (right): https://codereview.webrtc.org/2553863003/diff/220001/webrtc/call/call.cc#newcode1228 webrtc/call/call.cc:1228: if (!transport_wide && !abs_send_time && !t_offset) On 2016/12/19 14:03:31, ...
4 years ago (2016-12-19 14:26:53 UTC) #36
stefan-webrtc
lgtm https://codereview.webrtc.org/2553863003/diff/340001/webrtc/modules/congestion_controller/congestion_controller.cc File webrtc/modules/congestion_controller/congestion_controller.cc (right): https://codereview.webrtc.org/2553863003/diff/340001/webrtc/modules/congestion_controller/congestion_controller.cc#newcode202 webrtc/modules/congestion_controller/congestion_controller.cc:202: void CongestionController::NotifyBweOfReceivedPacket( On 2016/12/19 14:26:53, brandtr wrote: > ...
4 years ago (2016-12-19 15:50:30 UTC) #37
brandtr
Rebase.
4 years ago (2016-12-20 08:20:52 UTC) #46
brandtr
On 2016/12/14 13:12:56, nisse-webrtc wrote: > On 2016/12/14 12:55:49, brandtr wrote: > > Please have ...
4 years ago (2016-12-20 09:50:51 UTC) #51
nisse-webrtc
On 2016/12/20 09:50:51, brandtr wrote: > On 2016/12/14 13:12:56, nisse-webrtc wrote: > > On 2016/12/14 ...
4 years ago (2016-12-20 10:35:16 UTC) #52
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/2553863003/460001
4 years ago (2016-12-20 11:31:58 UTC) #59
commit-bot: I haz the power
Committed patchset #17 (id:460001) as https://chromium.googlesource.com/external/webrtc/+/ab2ffa3b28b55ef359232723049fb88b2dcd807a
4 years ago (2016-12-20 11:34:04 UTC) #62
brandtr
A revert of this CL (patchset #17 id:460001) has been created in https://codereview.webrtc.org/2589393002/ by brandtr@webrtc.org. ...
4 years ago (2016-12-21 08:20:54 UTC) #63
brandtr
4 years ago (2016-12-21 08:31:38 UTC) #64
Message was sent while issue was closed.
Original patch.

Powered by Google App Engine
This is Rietveld 408576698