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

Issue 2518923003: Pass time constant to bwe smoothing filter. (Closed)

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

Description

Pass time constanct to bwe smoothing filter. BUG=webrtc:6443, webrtc:6303 Committed: https://crrev.com/9abbf5ae4ec7d688a9b4aa03a405f3faadb74b90 Cr-Commit-Position: refs/heads/master@{#15266}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Respond to comments. #

Total comments: 14

Patch Set 3 : Respond to comments. #

Total comments: 6

Patch Set 4 : Respond to comments. #

Total comments: 6

Patch Set 5 : Removed Optional in SetBitrate #

Total comments: 15

Patch Set 6 : Respond to comments. #

Total comments: 3

Patch Set 7 : Respond to comments. #

Patch Set 8 : Add probing_interval_ms to NullBitrateObserver. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+248 lines, -128 lines) Patch
M webrtc/audio/audio_send_stream.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/audio/audio_send_stream.cc View 1 2 3 4 5 2 chunks +3 lines, -2 lines 0 comments Download
M webrtc/audio/audio_send_stream_unittest.cc View 1 2 3 4 5 6 2 chunks +24 lines, -0 lines 0 comments Download
M webrtc/call/bitrate_allocator.h View 1 2 3 chunks +6 lines, -2 lines 0 comments Download
M webrtc/call/bitrate_allocator.cc View 1 2 3 4 5 4 chunks +9 lines, -4 lines 0 comments Download
M webrtc/call/bitrate_allocator_unittest.cc View 1 2 3 4 5 6 19 chunks +77 lines, -54 lines 0 comments Download
M webrtc/call/call.cc View 1 2 3 4 5 2 chunks +14 lines, -8 lines 0 comments Download
M webrtc/modules/congestion_controller/congestion_controller.cc View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M webrtc/modules/congestion_controller/congestion_controller_unittest.cc View 1 2 3 7 chunks +28 lines, -16 lines 0 comments Download
M webrtc/modules/congestion_controller/delay_based_bwe.h View 1 2 3 4 5 3 chunks +3 lines, -0 lines 0 comments Download
M webrtc/modules/congestion_controller/delay_based_bwe.cc View 1 2 3 4 5 2 chunks +6 lines, -1 line 0 comments Download
M webrtc/modules/congestion_controller/delay_based_bwe_unittest.cc View 1 2 3 4 5 1 chunk +9 lines, -0 lines 0 comments Download
M webrtc/modules/congestion_controller/include/congestion_controller.h View 1 2 1 chunk +2 lines, -1 line 1 comment Download
M webrtc/modules/congestion_controller/include/mock/mock_congestion_controller.h View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M webrtc/modules/congestion_controller/probing_interval_estimator.h View 1 2 3 1 chunk +7 lines, -5 lines 0 comments Download
M webrtc/modules/congestion_controller/probing_interval_estimator.cc View 1 2 3 2 chunks +11 lines, -6 lines 0 comments Download
M webrtc/modules/congestion_controller/probing_interval_estimator_unittest.cc View 1 2 3 6 chunks +9 lines, -10 lines 0 comments Download
M webrtc/modules/congestion_controller/transport_feedback_adapter.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/congestion_controller/transport_feedback_adapter.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M webrtc/test/fuzzers/congestion_controller_feedback_fuzzer.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/test/mock_voe_channel_proxy.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M webrtc/tools/event_log_visualizer/analyzer.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/video/video_send_stream.cc View 1 2 3 4 5 2 chunks +4 lines, -2 lines 0 comments Download
M webrtc/voice_engine/channel.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M webrtc/voice_engine/channel.cc View 1 2 3 4 5 6 2 chunks +10 lines, -5 lines 0 comments Download
M webrtc/voice_engine/channel_proxy.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M webrtc/voice_engine/channel_proxy.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/voice_engine/voe_codec_impl.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 42 (11 generated)
michaelt
4 years, 1 month ago (2016-11-21 16:20:07 UTC) #2
minyue-webrtc
generally look good to me. But I need Stefan to judge if the propagation through ...
4 years, 1 month ago (2016-11-22 10:14:25 UTC) #3
hlundin-webrtc
On 2016/11/22 10:14:25, minyue-webrtc wrote: > generally look good to me. But I need Stefan ...
4 years, 1 month ago (2016-11-22 15:09:53 UTC) #4
michaelt
https://codereview.webrtc.org/2518923003/diff/1/webrtc/audio/audio_send_stream_unittest.cc File webrtc/audio/audio_send_stream_unittest.cc (right): https://codereview.webrtc.org/2518923003/diff/1/webrtc/audio/audio_send_stream_unittest.cc#newcode422 webrtc/audio/audio_send_stream_unittest.cc:422: } The the general idea is to test if ...
4 years, 1 month ago (2016-11-22 16:29:00 UTC) #5
stefan-webrtc
https://codereview.webrtc.org/2518923003/diff/1/webrtc/modules/congestion_controller/congestion_controller_unittest.cc File webrtc/modules/congestion_controller/congestion_controller_unittest.cc (right): https://codereview.webrtc.org/2518923003/diff/1/webrtc/modules/congestion_controller/congestion_controller_unittest.cc#newcode191 webrtc/modules/congestion_controller/congestion_controller_unittest.cc:191: } On 2016/11/22 16:29:00, michaelt wrote: > I think ...
4 years, 1 month ago (2016-11-22 16:39:05 UTC) #6
the sun
https://codereview.webrtc.org/2518923003/diff/20001/webrtc/audio/audio_send_stream_unittest.cc File webrtc/audio/audio_send_stream_unittest.cc (right): https://codereview.webrtc.org/2518923003/diff/20001/webrtc/audio/audio_send_stream_unittest.cc#newcode94 webrtc/audio/audio_send_stream_unittest.cc:94: stream_config_.rtp.ssrc = kSsrc; This is dupe from 3 lines ...
4 years ago (2016-11-23 09:12:34 UTC) #9
michaelt
https://codereview.webrtc.org/2518923003/diff/1/webrtc/modules/congestion_controller/congestion_controller_unittest.cc File webrtc/modules/congestion_controller/congestion_controller_unittest.cc (right): https://codereview.webrtc.org/2518923003/diff/1/webrtc/modules/congestion_controller/congestion_controller_unittest.cc#newcode191 webrtc/modules/congestion_controller/congestion_controller_unittest.cc:191: } Since we relay here on concert classes, we ...
4 years ago (2016-11-23 12:28:29 UTC) #10
the sun
lgtm for the comments I had
4 years ago (2016-11-24 09:58:45 UTC) #11
stefan-webrtc
I'm missing a unittest for GetProbingInterval(). Either on CongestionController level, TransportFeedbackAdapter level or at DelayBasedBwe ...
4 years ago (2016-11-24 10:40:46 UTC) #12
michaelt
I added unittest for DelayBasedBwe and CongestionController. https://codereview.webrtc.org/2518923003/diff/20001/webrtc/modules/congestion_controller/delay_based_bwe.cc File webrtc/modules/congestion_controller/delay_based_bwe.cc (right): https://codereview.webrtc.org/2518923003/diff/20001/webrtc/modules/congestion_controller/delay_based_bwe.cc#newcode275 webrtc/modules/congestion_controller/delay_based_bwe.cc:275: auto probing_interval_ms ...
4 years ago (2016-11-24 13:47:19 UTC) #13
stefan-webrtc
Thanks for the tests! One last question https://codereview.webrtc.org/2518923003/diff/60001/webrtc/voice_engine/channel_proxy.h File webrtc/voice_engine/channel_proxy.h (right): https://codereview.webrtc.org/2518923003/diff/60001/webrtc/voice_engine/channel_proxy.h#newcode75 webrtc/voice_engine/channel_proxy.h:75: rtc::Optional<int64_t> probing_interval_ms); ...
4 years ago (2016-11-24 13:52:40 UTC) #14
michaelt
https://codereview.webrtc.org/2518923003/diff/60001/webrtc/voice_engine/channel_proxy.h File webrtc/voice_engine/channel_proxy.h (right): https://codereview.webrtc.org/2518923003/diff/60001/webrtc/voice_engine/channel_proxy.h#newcode75 webrtc/voice_engine/channel_proxy.h:75: rtc::Optional<int64_t> probing_interval_ms); When the start BWE is lower than ...
4 years ago (2016-11-24 13:59:37 UTC) #15
stefan-webrtc
https://codereview.webrtc.org/2518923003/diff/60001/webrtc/voice_engine/channel_proxy.h File webrtc/voice_engine/channel_proxy.h (right): https://codereview.webrtc.org/2518923003/diff/60001/webrtc/voice_engine/channel_proxy.h#newcode75 webrtc/voice_engine/channel_proxy.h:75: rtc::Optional<int64_t> probing_interval_ms); On 2016/11/24 13:59:37, michaelt wrote: > When ...
4 years ago (2016-11-24 14:07:11 UTC) #16
michaelt
https://codereview.webrtc.org/2518923003/diff/60001/webrtc/voice_engine/channel_proxy.h File webrtc/voice_engine/channel_proxy.h (right): https://codereview.webrtc.org/2518923003/diff/60001/webrtc/voice_engine/channel_proxy.h#newcode75 webrtc/voice_engine/channel_proxy.h:75: rtc::Optional<int64_t> probing_interval_ms); I made it Optional because of VoECodec::SetBitRate() ...
4 years ago (2016-11-24 15:13:46 UTC) #17
stefan-webrtc
lgtm https://codereview.webrtc.org/2518923003/diff/60001/webrtc/voice_engine/channel_proxy.h File webrtc/voice_engine/channel_proxy.h (right): https://codereview.webrtc.org/2518923003/diff/60001/webrtc/voice_engine/channel_proxy.h#newcode75 webrtc/voice_engine/channel_proxy.h:75: rtc::Optional<int64_t> probing_interval_ms); On 2016/11/24 15:13:46, michaelt wrote: > ...
4 years ago (2016-11-24 15:19:02 UTC) #18
minyue-webrtc
I just found some nits https://codereview.webrtc.org/2518923003/diff/80001/webrtc/audio/audio_send_stream_unittest.cc File webrtc/audio/audio_send_stream_unittest.cc (right): https://codereview.webrtc.org/2518923003/diff/80001/webrtc/audio/audio_send_stream_unittest.cc#newcode417 webrtc/audio/audio_send_stream_unittest.cc:417: EXPECT_CALL(*helper.channel_proxy(), SetBitrate(_, 6000)); what ...
4 years ago (2016-11-28 12:00:00 UTC) #19
minyue-webrtc
https://codereview.webrtc.org/2518923003/diff/20001/webrtc/voice_engine/channel.cc File webrtc/voice_engine/channel.cc (right): https://codereview.webrtc.org/2518923003/diff/20001/webrtc/voice_engine/channel.cc#newcode1319 webrtc/voice_engine/channel.cc:1319: // 0.22 = 1 - e^(-t/probing_interval * 4) | ...
4 years ago (2016-11-28 12:38:20 UTC) #20
michaelt
https://codereview.webrtc.org/2518923003/diff/20001/webrtc/voice_engine/channel.cc File webrtc/voice_engine/channel.cc (right): https://codereview.webrtc.org/2518923003/diff/20001/webrtc/voice_engine/channel.cc#newcode1319 webrtc/voice_engine/channel.cc:1319: // 0.22 = 1 - e^(-t/probing_interval * 4) | ...
4 years ago (2016-11-28 13:03:38 UTC) #21
minyue-webrtc
final nits https://codereview.webrtc.org/2518923003/diff/80001/webrtc/audio/audio_send_stream_unittest.cc File webrtc/audio/audio_send_stream_unittest.cc (right): https://codereview.webrtc.org/2518923003/diff/80001/webrtc/audio/audio_send_stream_unittest.cc#newcode417 webrtc/audio/audio_send_stream_unittest.cc:417: EXPECT_CALL(*helper.channel_proxy(), SetBitrate(_, 6000)); On 2016/11/28 13:03:37, michaelt ...
4 years ago (2016-11-28 13:14:43 UTC) #22
michaelt
https://codereview.webrtc.org/2518923003/diff/80001/webrtc/audio/audio_send_stream_unittest.cc File webrtc/audio/audio_send_stream_unittest.cc (right): https://codereview.webrtc.org/2518923003/diff/80001/webrtc/audio/audio_send_stream_unittest.cc#newcode417 webrtc/audio/audio_send_stream_unittest.cc:417: EXPECT_CALL(*helper.channel_proxy(), SetBitrate(_, 6000)); Ok will remove the second test. ...
4 years ago (2016-11-28 13:30:09 UTC) #23
minyue-webrtc
lgtm
4 years ago (2016-11-28 13:54:32 UTC) #24
minyue-webrtc
lgtm lgtm
4 years ago (2016-11-28 13:54:33 UTC) #25
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/2518923003/120001
4 years ago (2016-11-28 13:57:33 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_libfuzzer_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_libfuzzer_rel/builds/7651)
4 years ago (2016-11-28 14:05:57 UTC) #30
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/2518923003/140001
4 years ago (2016-11-28 14:11:10 UTC) #33
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years ago (2016-11-28 15:00:23 UTC) #36
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/9abbf5ae4ec7d688a9b4aa03a405f3faadb74b90 Cr-Commit-Position: refs/heads/master@{#15266}
4 years ago (2016-11-28 15:00:32 UTC) #38
ossu
A revert of this CL (patchset #8 id:140001) has been created in https://codereview.webrtc.org/2532993002/ by ossu@webrtc.org. ...
4 years ago (2016-11-28 16:04:56 UTC) #39
stefan-webrtc
https://codereview.webrtc.org/2518923003/diff/140001/webrtc/modules/congestion_controller/include/congestion_controller.h File webrtc/modules/congestion_controller/include/congestion_controller.h (right): https://codereview.webrtc.org/2518923003/diff/140001/webrtc/modules/congestion_controller/include/congestion_controller.h#newcode52 webrtc/modules/congestion_controller/include/congestion_controller.h:52: int64_t probing_interval_ms) = 0; To avoid the build issues ...
4 years ago (2016-11-28 16:06:53 UTC) #40
minyue-webrtc
On 2016/11/28 16:06:53, stefan-webrtc (holmer) wrote: > https://codereview.webrtc.org/2518923003/diff/140001/webrtc/modules/congestion_controller/include/congestion_controller.h > File webrtc/modules/congestion_controller/include/congestion_controller.h > (right): > > ...
4 years ago (2016-11-28 16:07:34 UTC) #41
minyue-webrtc
4 years ago (2016-11-28 16:07:39 UTC) #42
Message was sent while issue was closed.
On 2016/11/28 16:06:53, stefan-webrtc (holmer) wrote:
>
https://codereview.webrtc.org/2518923003/diff/140001/webrtc/modules/congestio...
> File webrtc/modules/congestion_controller/include/congestion_controller.h
> (right):
> 
>
https://codereview.webrtc.org/2518923003/diff/140001/webrtc/modules/congestio...
> webrtc/modules/congestion_controller/include/congestion_controller.h:52:
int64_t
> probing_interval_ms) = 0;
> To avoid the build issues with internal projects I'd keep the old method
around
> but deprecate it, and create a new overloaded method with this parameter added
> to it.

Sure. I will do it.

Powered by Google App Engine
This is Rietveld 408576698