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

Issue 2181383002: Add NACK rate throttling for audio channels. (Closed)

Created:
4 years, 4 months ago by sprang_webrtc
Modified:
4 years, 4 months ago
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), Andrew MacDonald, zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, peah-webrtc, minyue-webrtc, the sun, pbos-webrtc, perkj_webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add NACK rate throttling for audio channels. Not really used for audio today (already in place for video), but should still function anyway. BUG= R=henrika@webrtc.org, minyue@webrtc.org, stefan@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/737336d37afb29e20ea406b875c74fbd9f95f1b8

Patch Set 1 #

Total comments: 13

Patch Set 2 : Addressed comments. You get a rate limiter, you get a rate limter... #

Patch Set 3 : Added missing RateLimiters for tests. Cleanup, lint. #

Patch Set 4 : Fixed race in test #

Total comments: 11

Patch Set 5 : Typos #

Patch Set 6 : Addressed comments #

Total comments: 2

Patch Set 7 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+219 lines, -74 lines) Patch
M webrtc/call/rtc_event_log_unittest.cc View 1 2 3 4 5 6 2 chunks +15 lines, -13 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/nack_rtx_unittest.cc View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_format_remb_unittest.cc View 1 4 chunks +5 lines, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_receiver_unittest.cc View 1 3 chunks +17 lines, -15 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_sender_unittest.cc View 1 2 3 4 3 chunks +5 lines, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc View 1 2 3 4 5 6 5 chunks +13 lines, -11 lines 0 comments Download
M webrtc/modules/rtp_rtcp/test/testAPI/test_api.cc View 1 2 3 4 4 chunks +5 lines, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/test/testAPI/test_api_audio.cc View 1 4 chunks +5 lines, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/test/testAPI/test_api_rtcp.cc View 1 4 chunks +5 lines, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/test/testAPI/test_api_video.cc View 1 2 3 4 4 chunks +5 lines, -1 line 0 comments Download
M webrtc/video/end_to_end_tests.cc View 1 2 3 4 5 6 5 chunks +78 lines, -1 line 0 comments Download
M webrtc/video/rtp_stream_receiver.h View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/video/rtp_stream_receiver.cc View 1 2 3 4 4 chunks +7 lines, -4 lines 0 comments Download
M webrtc/video/video_receive_stream.cc View 1 2 2 chunks +14 lines, -11 lines 0 comments Download
M webrtc/video/video_send_stream_tests.cc View 1 2 10 chunks +18 lines, -8 lines 0 comments Download
M webrtc/voice_engine/channel.h View 1 2 3 4 5 6 3 chunks +2 lines, -1 line 0 comments Download
M webrtc/voice_engine/channel.cc View 1 2 3 4 5 6 6 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (10 generated)
sprang_webrtc
ptal It seems very difficult at the moment to be able to get a reference ...
4 years, 4 months ago (2016-07-27 08:14:04 UTC) #2
stefan-webrtc
I don't think I follow what you meant with congestion controller being hard to use ...
4 years, 4 months ago (2016-07-28 07:27:38 UTC) #3
minyue-webrtc
generally look good in VoE, (but I am not an owner of VoE, please loop ...
4 years, 4 months ago (2016-07-28 08:17:27 UTC) #4
sprang_webrtc
+henrika for voe https://codereview.webrtc.org/2181383002/diff/1/webrtc/video/end_to_end_tests.cc File webrtc/video/end_to_end_tests.cc (right): https://codereview.webrtc.org/2181383002/diff/1/webrtc/video/end_to_end_tests.cc#newcode493 webrtc/video/end_to_end_tests.cc:493: TEST_F(EndToEndTest, ReceivesNackAndRetransmitsAudio) { On 2016/07/28 07:27:38, ...
4 years, 4 months ago (2016-07-28 13:00:58 UTC) #6
henrika_webrtc
What effect will this change have on audio?
4 years, 4 months ago (2016-07-28 13:03:07 UTC) #7
sprang_webrtc
On 2016/07/28 13:03:07, henrika_webrtc wrote: > What effect will this change have on audio? Main ...
4 years, 4 months ago (2016-07-28 13:25:05 UTC) #8
henrika_webrtc
LGTM (voice_engine)
4 years, 4 months ago (2016-07-28 13:42:53 UTC) #9
minyue-webrtc
lgtm
4 years, 4 months ago (2016-07-28 13:50:14 UTC) #10
stefan-webrtc
https://codereview.webrtc.org/2181383002/diff/1/webrtc/video/end_to_end_tests.cc File webrtc/video/end_to_end_tests.cc (right): https://codereview.webrtc.org/2181383002/diff/1/webrtc/video/end_to_end_tests.cc#newcode493 webrtc/video/end_to_end_tests.cc:493: TEST_F(EndToEndTest, ReceivesNackAndRetransmitsAudio) { On 2016/07/28 13:00:58, språng wrote: > ...
4 years, 4 months ago (2016-07-28 15:06:16 UTC) #11
sprang_webrtc
https://codereview.webrtc.org/2181383002/diff/60001/webrtc/call/rtc_event_log_unittest.cc File webrtc/call/rtc_event_log_unittest.cc (right): https://codereview.webrtc.org/2181383002/diff/60001/webrtc/call/rtc_event_log_unittest.cc#newcode115 webrtc/call/rtc_event_log_unittest.cc:115: RateLimiter retranmission_rate_limiter(clock, 1000); On 2016/07/28 15:06:15, stefan-webrtc (holmer) wrote: ...
4 years, 4 months ago (2016-07-28 15:17:18 UTC) #12
stefan-webrtc
https://codereview.webrtc.org/2181383002/diff/60001/webrtc/video/end_to_end_tests.cc File webrtc/video/end_to_end_tests.cc (right): https://codereview.webrtc.org/2181383002/diff/60001/webrtc/video/end_to_end_tests.cc#newcode551 webrtc/video/end_to_end_tests.cc:551: std::unique_ptr<test::PacketTransport>* const send_transport_; On 2016/07/28 15:17:18, språng wrote: > ...
4 years, 4 months ago (2016-07-28 15:24:07 UTC) #13
sprang_webrtc
https://codereview.webrtc.org/2181383002/diff/60001/webrtc/video/end_to_end_tests.cc File webrtc/video/end_to_end_tests.cc (right): https://codereview.webrtc.org/2181383002/diff/60001/webrtc/video/end_to_end_tests.cc#newcode551 webrtc/video/end_to_end_tests.cc:551: std::unique_ptr<test::PacketTransport>* const send_transport_; On 2016/07/28 15:24:07, stefan-webrtc (holmer) wrote: ...
4 years, 4 months ago (2016-07-29 08:00:05 UTC) #14
stefan-webrtc
lgtm with nit fixed. https://codereview.webrtc.org/2181383002/diff/100001/webrtc/video/end_to_end_tests.cc File webrtc/video/end_to_end_tests.cc (right): https://codereview.webrtc.org/2181383002/diff/100001/webrtc/video/end_to_end_tests.cc#newcode507 webrtc/video/end_to_end_tests.cc:507: test::PacketTransport* receive_transport = new test::PacketTransport( ...
4 years, 4 months ago (2016-07-29 08:42:16 UTC) #15
sprang_webrtc
https://codereview.webrtc.org/2181383002/diff/100001/webrtc/video/end_to_end_tests.cc File webrtc/video/end_to_end_tests.cc (right): https://codereview.webrtc.org/2181383002/diff/100001/webrtc/video/end_to_end_tests.cc#newcode507 webrtc/video/end_to_end_tests.cc:507: test::PacketTransport* receive_transport = new test::PacketTransport( On 2016/07/29 08:42:16, stefan-webrtc ...
4 years, 4 months ago (2016-07-29 09:05:08 UTC) #16
stefan-webrtc
lgtm
4 years, 4 months ago (2016-07-29 09:20:57 UTC) #17
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/2181383002/100001
4 years, 4 months ago (2016-07-29 09:25:36 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_x64_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_compile_x64_dbg/builds/5627) android_compile_x86_dbg on master.tryserver.webrtc (JOB_FAILED, ...
4 years, 4 months ago (2016-07-29 09:26:47 UTC) #22
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/2181383002/120001
4 years, 4 months ago (2016-07-29 09:31:31 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_arm64_rel/builds/9668)
4 years, 4 months ago (2016-07-29 10:06:08 UTC) #27
sprang_webrtc
4 years, 4 months ago (2016-07-29 10:59:55 UTC) #30
Message was sent while issue was closed.
Committed patchset #7 (id:120001) manually as
737336d37afb29e20ea406b875c74fbd9f95f1b8 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698