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

Issue 2405333002: Add remoting::protocol::NetworkStateObserver interface. (Closed)

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

Description

Add remoting::protocol::NetworkStateObserver interface. Previously WebrtcDummyVideoEncoder was using callbacks to report network bitrate and keyframe requests. With this change the new NetworkStateObserver interface will be used instead. This simplifies how the notifications are passed to the frame scheduler and also allows the frame scheduler to receive RTT estimate if it needs to use it. Also cleaned up threading logic in WebrtcDummyVideoEncoder and WebrtcDummyVideoEncoderFactory. Committed: https://crrev.com/78f725b7236b2f7823ecaeacf393ff7ab984ffa4 Cr-Commit-Position: refs/heads/master@{#424595}

Patch Set 1 #

Total comments: 8

Patch Set 2 : address feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+162 lines, -183 lines) Patch
M remoting/protocol/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
A remoting/protocol/video_channel_state_observer.h View 1 1 chunk +26 lines, -0 lines 0 comments Download
M remoting/protocol/webrtc_dummy_video_encoder.h View 1 5 chunks +29 lines, -25 lines 0 comments Download
M remoting/protocol/webrtc_dummy_video_encoder.cc View 1 8 chunks +44 lines, -74 lines 0 comments Download
M remoting/protocol/webrtc_frame_scheduler.h View 1 2 chunks +6 lines, -7 lines 0 comments Download
M remoting/protocol/webrtc_frame_scheduler_simple.h View 1 3 chunks +14 lines, -4 lines 0 comments Download
M remoting/protocol/webrtc_frame_scheduler_simple.cc View 1 6 chunks +38 lines, -13 lines 0 comments Download
M remoting/protocol/webrtc_video_stream.h View 2 chunks +0 lines, -5 lines 0 comments Download
M remoting/protocol/webrtc_video_stream.cc View 1 5 chunks +4 lines, -55 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
Sergey Ulanov
4 years, 2 months ago (2016-10-11 21:42:32 UTC) #2
Jamie
lgtm https://codereview.chromium.org/2405333002/diff/1/remoting/protocol/webrtc_dummy_video_encoder.cc File remoting/protocol/webrtc_dummy_video_encoder.cc (right): https://codereview.chromium.org/2405333002/diff/1/remoting/protocol/webrtc_dummy_video_encoder.cc#newcode70 remoting/protocol/webrtc_dummy_video_encoder.cc:70: network_state_observer_)); It's not clear from the context that ...
4 years, 2 months ago (2016-10-11 21:58:33 UTC) #3
Sergey Ulanov
https://codereview.chromium.org/2405333002/diff/1/remoting/protocol/webrtc_dummy_video_encoder.cc File remoting/protocol/webrtc_dummy_video_encoder.cc (right): https://codereview.chromium.org/2405333002/diff/1/remoting/protocol/webrtc_dummy_video_encoder.cc#newcode70 remoting/protocol/webrtc_dummy_video_encoder.cc:70: network_state_observer_)); On 2016/10/11 21:58:33, Jamie wrote: > It's not ...
4 years, 2 months ago (2016-10-11 22:36:24 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.chromium.org/2405333002/20001
4 years, 2 months ago (2016-10-11 22:37:08 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-11 23:35:11 UTC) #8
commit-bot: I haz the power
4 years, 2 months ago (2016-10-11 23:40:22 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/78f725b7236b2f7823ecaeacf393ff7ab984ffa4
Cr-Commit-Position: refs/heads/master@{#424595}

Powered by Google App Engine
This is Rietveld 408576698