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

Issue 2616393003: Periodically update channel parameters and send TargetBitrate message. (Closed)

Created:
3 years, 11 months ago by sprang_webrtc
Modified:
3 years, 11 months ago
Reviewers:
danilchap
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Periodically update channel parameters and send TargetBitrate message. Currently, parameters are periodically updated, but the TargetBitrate message is only sent if a new bitrate is set. It should be sent periodically to indicate the signaled bitrate is valid and to prevent stale values due to loss of RTCP packets. BUG=webrtc:6897 Review-Url: https://codereview.webrtc.org/2616393003 Cr-Commit-Position: refs/heads/master@{#16096} Committed: https://chromium.googlesource.com/external/webrtc/+/57c2fff361fac137480a3b045d2c6b194b1d0d30

Patch Set 1 #

Total comments: 2

Patch Set 2 : ms_ suffix #

Patch Set 3 : Remove deprecated tests in VideoSender, add new one in ViEEncoder #

Total comments: 6

Patch Set 4 : Use fake clock in test #

Total comments: 4

Patch Set 5 : Fixed includes #

Total comments: 1

Patch Set 6 : Revert from fake clock to sleeping #

Patch Set 7 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -50 lines) Patch
M webrtc/modules/video_coding/video_sender.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M webrtc/modules/video_coding/video_sender_unittest.cc View 1 2 3 4 5 6 3 chunks +1 line, -40 lines 0 comments Download
M webrtc/video/vie_encoder.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/video/vie_encoder.cc View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
M webrtc/video/vie_encoder_unittest.cc View 1 2 3 4 5 6 4 chunks +54 lines, -4 lines 0 comments Download

Messages

Total messages: 41 (18 generated)
sprang_webrtc
3 years, 11 months ago (2017-01-09 13:20:12 UTC) #2
danilchap
lgtm https://codereview.webrtc.org/2616393003/diff/1/webrtc/video/vie_encoder.h File webrtc/video/vie_encoder.h (right): https://codereview.webrtc.org/2616393003/diff/1/webrtc/video/vie_encoder.h#newcode238 webrtc/video/vie_encoder.h:238: rtc::Optional<int64_t> last_parameters_update_ ACCESS_ON(&encoder_queue_); add 'ms_' suffix
3 years, 11 months ago (2017-01-09 14:05:48 UTC) #3
sprang_webrtc
https://codereview.webrtc.org/2616393003/diff/1/webrtc/video/vie_encoder.h File webrtc/video/vie_encoder.h (right): https://codereview.webrtc.org/2616393003/diff/1/webrtc/video/vie_encoder.h#newcode238 webrtc/video/vie_encoder.h:238: rtc::Optional<int64_t> last_parameters_update_ ACCESS_ON(&encoder_queue_); On 2017/01/09 14:05:48, danilchap wrote: > ...
3 years, 11 months ago (2017-01-09 15:34:03 UTC) #4
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/2616393003/20001
3 years, 11 months ago (2017-01-09 15:34:08 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: mac_asan on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_asan/builds/20768)
3 years, 11 months ago (2017-01-09 15:42:59 UTC) #9
sprang_webrtc
updated the tests, you may wanna take another pass
3 years, 11 months ago (2017-01-10 09:25:08 UTC) #14
danilchap
https://codereview.webrtc.org/2616393003/diff/40001/webrtc/video/vie_encoder_unittest.cc File webrtc/video/vie_encoder_unittest.cc (right): https://codereview.webrtc.org/2616393003/diff/40001/webrtc/video/vie_encoder_unittest.cc#newcode26 webrtc/video/vie_encoder_unittest.cc:26: using ::testing::_; put using inside (2nd) unnamed namespace (or ...
3 years, 11 months ago (2017-01-10 10:32:33 UTC) #15
sprang_webrtc
I switched over to using a fake clock in vie_encoder_unittest, which required an update to ...
3 years, 11 months ago (2017-01-10 11:34:08 UTC) #17
danilchap
lgtm % nits https://codereview.webrtc.org/2616393003/diff/60001/webrtc/video/vie_encoder_unittest.cc File webrtc/video/vie_encoder_unittest.cc (right): https://codereview.webrtc.org/2616393003/diff/60001/webrtc/video/vie_encoder_unittest.cc#newcode15 webrtc/video/vie_encoder_unittest.cc:15: #include "webrtc/base/fakeclock.h" fakeclock before logging for ...
3 years, 11 months ago (2017-01-10 13:08:15 UTC) #18
sprang_webrtc
https://codereview.webrtc.org/2616393003/diff/60001/webrtc/video/vie_encoder_unittest.cc File webrtc/video/vie_encoder_unittest.cc (right): https://codereview.webrtc.org/2616393003/diff/60001/webrtc/video/vie_encoder_unittest.cc#newcode15 webrtc/video/vie_encoder_unittest.cc:15: #include "webrtc/base/fakeclock.h" On 2017/01/10 13:08:15, danilchap wrote: > fakeclock ...
3 years, 11 months ago (2017-01-10 13:26:12 UTC) #19
sprang_webrtc
ping mflodman
3 years, 11 months ago (2017-01-13 08:50:22 UTC) #20
mflodman
https://codereview.webrtc.org/2616393003/diff/80001/webrtc/video/vie_encoder_unittest.cc File webrtc/video/vie_encoder_unittest.cc (right): https://codereview.webrtc.org/2616393003/diff/80001/webrtc/video/vie_encoder_unittest.cc#newcode14 webrtc/video/vie_encoder_unittest.cc:14: #include "webrtc/base/fakeclock.h" AFAICT fakeclock.h depends on messagequeue.h, which is ...
3 years, 11 months ago (2017-01-13 13:29:38 UTC) #21
sprang_webrtc
On 2017/01/13 13:29:38, mflodman wrote: > https://codereview.webrtc.org/2616393003/diff/80001/webrtc/video/vie_encoder_unittest.cc > File webrtc/video/vie_encoder_unittest.cc (right): > > https://codereview.webrtc.org/2616393003/diff/80001/webrtc/video/vie_encoder_unittest.cc#newcode14 > ...
3 years, 11 months ago (2017-01-13 13:33:41 UTC) #22
sprang_webrtc
On 2017/01/13 13:33:41, språng wrote: > On 2017/01/13 13:29:38, mflodman wrote: > > > https://codereview.webrtc.org/2616393003/diff/80001/webrtc/video/vie_encoder_unittest.cc ...
3 years, 11 months ago (2017-01-13 13:47:33 UTC) #23
mflodman
On 2017/01/13 13:47:33, språng wrote: > On 2017/01/13 13:33:41, språng wrote: > > On 2017/01/13 ...
3 years, 11 months ago (2017-01-13 14:01:26 UTC) #24
sprang_webrtc
Reverted back to sleeping instead of using fake clock, so -mflodman as reviewer. Will update ...
3 years, 11 months ago (2017-01-16 10:57:25 UTC) #26
danilchap
lgtm (look like Sleep can't be easily avoided, but thank you for trying)
3 years, 11 months ago (2017-01-16 11:13:38 UTC) #27
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/2616393003/100001
3 years, 11 months ago (2017-01-16 11:18:08 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: ios64_sim_ios10_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios64_sim_ios10_dbg/builds/384)
3 years, 11 months ago (2017-01-16 11:32:07 UTC) #31
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/2616393003/100001
3 years, 11 months ago (2017-01-16 12:11:49 UTC) #33
commit-bot: I haz the power
Failed to apply patch for webrtc/video/vie_encoder_unittest.cc: While running git apply --index -p1; error: patch failed: ...
3 years, 11 months ago (2017-01-16 12:26:57 UTC) #35
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/2616393003/120001
3 years, 11 months ago (2017-01-16 12:37:13 UTC) #38
commit-bot: I haz the power
3 years, 11 months ago (2017-01-16 14:24:07 UTC) #41
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/external/webrtc/+/57c2fff361fac137480a3b045...

Powered by Google App Engine
This is Rietveld 408576698