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

Issue 1932683002: Remove ViEEncoder::SetNetworkStatus (Closed)

Created:
4 years, 7 months ago by perkj_webrtc
Modified:
4 years, 7 months ago
Reviewers:
stefan-webrtc
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhuangzesen_agora.io, zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, pbos-webrtc, perkj_webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@move_pacer
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Remove ViEEncoder::SetNetworkStatus This cl removed ViEEncoder::SetNetworkStatus. Instead the PacedSender will report that frames can not be sent when the network is down and the BitrateController will report an estimated available bandwidth of 0 bps. BUG=webrtc:5687 NOTRY=True Committed: https://crrev.com/50b5c3be844ef571a28b2681c549443a26735d72 Cr-Commit-Position: refs/heads/master@{#12699}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 5

Patch Set 4 : Rewritten. Now congestioncontroller handles network state changes. #

Patch Set 5 : git cl format #

Total comments: 2

Patch Set 6 : Addressed comments #

Total comments: 2

Patch Set 7 : Fixed rtt and fraction lost. #

Patch Set 8 : Rebased #

Patch Set 9 : Trigger MaybeTriggerOnNetworkChanged in SignalNetworkChanged. #

Patch Set 10 : Rebased #

Patch Set 11 : Rebased and fixed CongestionController unittests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -51 lines) Patch
M webrtc/modules/congestion_controller/congestion_controller.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +44 lines, -14 lines 0 comments Download
M webrtc/modules/congestion_controller/congestion_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +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 2 chunks +9 lines, -4 lines 0 comments Download
M webrtc/video/video_send_stream.cc View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -15 lines 0 comments Download
M webrtc/video/vie_encoder.h View 1 2 3 4 5 6 7 8 9 2 chunks +0 lines, -3 lines 0 comments Download
M webrtc/video/vie_encoder.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +3 lines, -15 lines 0 comments Download

Messages

Total messages: 26 (11 generated)
perkj_webrtc
Can you please review?
4 years, 7 months ago (2016-04-28 13:49:38 UTC) #3
stefan-webrtc
https://codereview.webrtc.org/1932683002/diff/40001/webrtc/modules/pacing/paced_sender.cc File webrtc/modules/pacing/paced_sender.cc (right): https://codereview.webrtc.org/1932683002/diff/40001/webrtc/modules/pacing/paced_sender.cc#newcode333 webrtc/modules/pacing/paced_sender.cc:333: return !paused_ && ExpectedQueueTimeMs() < PacedSender::kMaxQueueLengthMs; This method takes ...
4 years, 7 months ago (2016-05-02 10:56:31 UTC) #4
perkj_webrtc
PTAL
4 years, 7 months ago (2016-05-03 09:03:17 UTC) #5
stefan-webrtc
https://codereview.webrtc.org/1932683002/diff/80001/webrtc/modules/congestion_controller/congestion_controller.cc File webrtc/modules/congestion_controller/congestion_controller.cc (right): https://codereview.webrtc.org/1932683002/diff/80001/webrtc/modules/congestion_controller/congestion_controller.cc#newcode301 webrtc/modules/congestion_controller/congestion_controller.cc:301: UpdateSendQueueStatus(send_queue_is_full)) { I don't like this if statement. Can ...
4 years, 7 months ago (2016-05-04 07:28:58 UTC) #6
stefan-webrtc
Nice! LGTM with the nit fixed. https://codereview.webrtc.org/1932683002/diff/100001/webrtc/modules/congestion_controller/congestion_controller.cc File webrtc/modules/congestion_controller/congestion_controller.cc (right): https://codereview.webrtc.org/1932683002/diff/100001/webrtc/modules/congestion_controller/congestion_controller.cc#newcode296 webrtc/modules/congestion_controller/congestion_controller.cc:296: bool CongestionController::HasBitrateToReportChanged(uint32_t bitrate_bps) ...
4 years, 7 months ago (2016-05-04 09:21:20 UTC) #7
perkj_webrtc
https://codereview.webrtc.org/1932683002/diff/80001/webrtc/modules/congestion_controller/congestion_controller.cc File webrtc/modules/congestion_controller/congestion_controller.cc (right): https://codereview.webrtc.org/1932683002/diff/80001/webrtc/modules/congestion_controller/congestion_controller.cc#newcode301 webrtc/modules/congestion_controller/congestion_controller.cc:301: UpdateSendQueueStatus(send_queue_is_full)) { On 2016/05/04 07:28:58, stefan-webrtc (holmer) wrote: > ...
4 years, 7 months ago (2016-05-04 10:00:16 UTC) #8
stefan-webrtc
lgtm
4 years, 7 months ago (2016-05-04 12:30:51 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1932683002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1932683002/140001
4 years, 7 months ago (2016-05-04 15:25:23 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/5301)
4 years, 7 months ago (2016-05-04 15:30:34 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1932683002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1932683002/200001
4 years, 7 months ago (2016-05-12 07:25:30 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_x86_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_compile_x86_dbg/builds/3959)
4 years, 7 months ago (2016-05-12 07:31:18 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1932683002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1932683002/200001
4 years, 7 months ago (2016-05-12 11:42:51 UTC) #21
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 7 months ago (2016-05-12 11:53:52 UTC) #23
commit-bot: I haz the power
Patchset 11 (id:??) landed as https://crrev.com/50b5c3be844ef571a28b2681c549443a26735d72 Cr-Commit-Position: refs/heads/master@{#12699}
4 years, 7 months ago (2016-05-12 11:53:57 UTC) #25
perkj_webrtc
4 years, 7 months ago (2016-05-13 08:17:20 UTC) #26
Message was sent while issue was closed.
A revert of this CL (patchset #11 id:200001) has been created in
https://codereview.webrtc.org/1978783002/ by perkj@webrtc.org.

The reason for reverting is: Breaks Chrome FYI using H264. 
Need to investigate. 

https://build.chromium.org/p/chromium.webrtc.fyi/builders/Win7%20Tester/build....

Powered by Google App Engine
This is Rietveld 408576698