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

Issue 2366053002: Account for expected capture and encode latency in WebrtcFrameSchedulerSimple (Closed)

Created:
4 years, 2 months ago by Sergey Ulanov
Modified:
4 years, 2 months ago
Reviewers:
Irfan
CC:
chromium-reviews, chromoting-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Account for expected capture and encode latency in WebrtcFrameSchedulerSimple Previously when scheduling video frames the scheduler was taking into account only expected pacer queue delay, but not the capturer/encoder latency. Now the scheduler keeps queue of 5 most recent samples and uses it to schedule each frame such that it's ready to be sent right after the previous frame leaves the pacer. This change improves bandwidth utilization in the ScrollPerformanceWebrtc test from 30 to 50% without any effect on latency. Committed: https://crrev.com/b6c1d4353b508fb6cb2d28dfd33d847499e982f1 Cr-Commit-Position: refs/heads/master@{#421341}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -2 lines) Patch
M remoting/protocol/webrtc_frame_scheduler_simple.h View 2 chunks +4 lines, -0 lines 0 comments Download
M remoting/protocol/webrtc_frame_scheduler_simple.cc View 4 chunks +12 lines, -2 lines 2 comments Download

Messages

Total messages: 13 (6 generated)
Sergey Ulanov
4 years, 2 months ago (2016-09-23 23:40:56 UTC) #4
Irfan
https://codereview.chromium.org/2366053002/diff/1/remoting/protocol/webrtc_frame_scheduler_simple.cc File remoting/protocol/webrtc_frame_scheduler_simple.cc (right): https://codereview.chromium.org/2366053002/diff/1/remoting/protocol/webrtc_frame_scheduler_simple.cc#newcode115 remoting/protocol/webrtc_frame_scheduler_simple.cc:115: base::TimeDelta::FromMicroseconds(frame_processing_delay_us_.Max()); assigning expected value to Max() seems confusing. Do ...
4 years, 2 months ago (2016-09-27 18:04:51 UTC) #5
Sergey Ulanov
https://codereview.chromium.org/2366053002/diff/1/remoting/protocol/webrtc_frame_scheduler_simple.cc File remoting/protocol/webrtc_frame_scheduler_simple.cc (right): https://codereview.chromium.org/2366053002/diff/1/remoting/protocol/webrtc_frame_scheduler_simple.cc#newcode115 remoting/protocol/webrtc_frame_scheduler_simple.cc:115: base::TimeDelta::FromMicroseconds(frame_processing_delay_us_.Max()); On 2016/09/27 18:04:51, Irfan wrote: > assigning expected ...
4 years, 2 months ago (2016-09-27 18:49:09 UTC) #6
Irfan
lgtm
4 years, 2 months ago (2016-09-27 20:54:07 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2366053002/1
4 years, 2 months ago (2016-09-27 21:05:03 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 2 months ago (2016-09-27 21:34:14 UTC) #11
commit-bot: I haz the power
4 years, 2 months ago (2016-09-27 21:37:39 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/b6c1d4353b508fb6cb2d28dfd33d847499e982f1
Cr-Commit-Position: refs/heads/master@{#421341}

Powered by Google App Engine
This is Rietveld 408576698