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

Issue 1472873005: Add VideoStream interface. (Closed)

Created:
5 years ago by Sergey Ulanov
Modified:
5 years ago
Reviewers:
Jamie, Wez
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@move_video_pump
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add VideoStream interface. Added new VideoStream interface. VideoFramePump implements it. Later there will be a separate implementation for WebRTC-based protocol. ConnectionToClient is responsible for VideoStream creation. BUG=547158 Committed: https://crrev.com/a609b7a407e9a009d963f5c3c799a0bccc1be658 Cr-Commit-Position: refs/heads/master@{#362096}

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+284 lines, -243 lines) Patch
M remoting/host/chromoting_host.cc View 1 chunk +2 lines, -1 line 0 comments Download
M remoting/host/chromoting_host_unittest.cc View 3 chunks +0 lines, -9 lines 0 comments Download
M remoting/host/client_session.h View 7 chunks +8 lines, -9 lines 0 comments Download
M remoting/host/client_session.cc View 1 12 chunks +39 lines, -55 lines 0 comments Download
M remoting/host/client_session_unittest.cc View 12 chunks +20 lines, -20 lines 0 comments Download
D remoting/host/mouse_clamping_filter.h View 1 chunk +0 lines, -43 lines 0 comments Download
D remoting/host/mouse_clamping_filter.cc View 1 chunk +0 lines, -37 lines 0 comments Download
M remoting/protocol/connection_to_client.h View 1 5 chunks +17 lines, -8 lines 0 comments Download
M remoting/protocol/fake_connection_to_client.h View 5 chunks +35 lines, -7 lines 0 comments Download
M remoting/protocol/fake_connection_to_client.cc View 1 2 3 3 chunks +25 lines, -7 lines 0 comments Download
M remoting/protocol/ice_connection_to_client.h View 4 chunks +9 lines, -4 lines 0 comments Download
M remoting/protocol/ice_connection_to_client.cc View 1 2 8 chunks +51 lines, -20 lines 0 comments Download
M remoting/protocol/ice_connection_to_client_unittest.cc View 1 2 4 chunks +7 lines, -6 lines 0 comments Download
M remoting/protocol/protocol_mock_objects.h View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/protocol/protocol_mock_objects.cc View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/protocol/video_frame_pump.h View 1 5 chunks +12 lines, -13 lines 0 comments Download
M remoting/protocol/video_frame_pump.cc View 1 2 chunks +11 lines, -0 lines 0 comments Download
A remoting/protocol/video_stream.h View 1 1 chunk +44 lines, -0 lines 0 comments Download
M remoting/remoting_host_srcs.gypi View 1 1 chunk +0 lines, -2 lines 0 comments Download
M remoting/remoting_srcs.gypi View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (10 generated)
Sergey Ulanov
5 years ago (2015-11-25 00:09:35 UTC) #2
Jamie
LGTM with nits https://codereview.chromium.org/1472873005/diff/1/remoting/host/client_session.cc File remoting/host/client_session.cc (right): https://codereview.chromium.org/1472873005/diff/1/remoting/host/client_session.cc#newcode119 remoting/host/client_session.cc:119: DCHECK(!screen_controls_); No DCHECK for video_stream_? https://codereview.chromium.org/1472873005/diff/1/remoting/protocol/connection_to_client.h ...
5 years ago (2015-11-25 01:32:46 UTC) #3
Sergey Ulanov
https://codereview.chromium.org/1472873005/diff/1/remoting/host/client_session.cc File remoting/host/client_session.cc (right): https://codereview.chromium.org/1472873005/diff/1/remoting/host/client_session.cc#newcode119 remoting/host/client_session.cc:119: DCHECK(!screen_controls_); On 2015/11/25 01:32:46, Jamie wrote: > No DCHECK ...
5 years ago (2015-11-27 22:11:34 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1472873005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1472873005/20001
5 years ago (2015-11-27 22:12:59 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/100224) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years ago (2015-11-27 22:14:34 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1472873005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1472873005/40001
5 years ago (2015-11-30 05:04:46 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/72694)
5 years ago (2015-11-30 05:26:14 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1472873005/50021 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1472873005/50021
5 years ago (2015-11-30 05:52:23 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:50021)
5 years ago (2015-11-30 06:25:48 UTC) #18
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/a609b7a407e9a009d963f5c3c799a0bccc1be658 Cr-Commit-Position: refs/heads/master@{#362096}
5 years ago (2015-11-30 06:26:34 UTC) #20
Wez
<drive-by> What's going on with MouseClampingFilter - looks like it's being deleted, but the CL ...
5 years ago (2015-11-30 18:30:39 UTC) #21
Sergey Ulanov
MouseClampingFilter was a wrapper around protocol::MouseInputFilter that was also implementing VideoStub to get the frame ...
5 years ago (2015-11-30 18:41:24 UTC) #22
Wez
5 years ago (2015-11-30 18:53:31 UTC) #23
Message was sent while issue was closed.
OK, SGTM!

On 30 November 2015 at 10:41, Sergey Ulanov <sergeyu@chromium.org> wrote:

> MouseClampingFilter was  a wrapper around protocol::MouseInputFilter that
> was also implementing VideoStub to get the frame size. This approach will
> not work with WebRTC-based protocol where VideoStub is not applicable. IMO
> it was also confusing. So I changed ClientSession to use
> protocol::MouseInputFilter directly. ClientSession gets VideoSize
> notification from VideoStream and passes that size to the filter. Agree I
> should've mentioned it in the CL description.
>
> On Mon, Nov 30, 2015 at 10:30 AM, <wez@chromium.org> wrote:
>
>> <drive-by> What's going on with MouseClampingFilter - looks like it's
>> being
>> deleted, but the CL description doesn't mention why, and some of the CL
>> seem to
>> use it, which suggests it's actually moved somewhere else...?
>>
>> https://codereview.chromium.org/1472873005/
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698