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

Side by Side Diff: remoting/protocol/webrtc_connection_to_client.cc

Issue 1615433002: Roll WebRTC 11523:11548, Libjingle 11522:11545 (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rolling to webrtc@11548 instead to pull in a fix Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « remoting/host/cast_extension_session.cc ('k') | remoting/protocol/webrtc_data_stream_adapter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "remoting/protocol/webrtc_connection_to_client.h" 5 #include "remoting/protocol/webrtc_connection_to_client.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "jingle/glue/thread_wrapper.h" 11 #include "jingle/glue/thread_wrapper.h"
12 #include "net/base/io_buffer.h" 12 #include "net/base/io_buffer.h"
13 #include "remoting/codec/video_encoder.h" 13 #include "remoting/codec/video_encoder.h"
14 #include "remoting/codec/video_encoder_verbatim.h" 14 #include "remoting/codec/video_encoder_verbatim.h"
15 #include "remoting/codec/video_encoder_vpx.h" 15 #include "remoting/codec/video_encoder_vpx.h"
16 #include "remoting/protocol/audio_writer.h" 16 #include "remoting/protocol/audio_writer.h"
17 #include "remoting/protocol/clipboard_stub.h" 17 #include "remoting/protocol/clipboard_stub.h"
18 #include "remoting/protocol/host_control_dispatcher.h" 18 #include "remoting/protocol/host_control_dispatcher.h"
19 #include "remoting/protocol/host_event_dispatcher.h" 19 #include "remoting/protocol/host_event_dispatcher.h"
20 #include "remoting/protocol/host_stub.h" 20 #include "remoting/protocol/host_stub.h"
21 #include "remoting/protocol/input_stub.h" 21 #include "remoting/protocol/input_stub.h"
22 #include "remoting/protocol/transport_context.h" 22 #include "remoting/protocol/transport_context.h"
23 #include "remoting/protocol/webrtc_transport.h" 23 #include "remoting/protocol/webrtc_transport.h"
24 #include "remoting/protocol/webrtc_video_capturer_adapter.h" 24 #include "remoting/protocol/webrtc_video_capturer_adapter.h"
25 #include "remoting/protocol/webrtc_video_stream.h" 25 #include "remoting/protocol/webrtc_video_stream.h"
26 #include "third_party/libjingle/source/talk/app/webrtc/mediastreaminterface.h" 26 #include "third_party/webrtc/api/mediastreaminterface.h"
27 #include "third_party/libjingle/source/talk/app/webrtc/peerconnectioninterface.h " 27 #include "third_party/webrtc/api/peerconnectioninterface.h"
28 #include "third_party/libjingle/source/talk/app/webrtc/test/fakeconstraints.h" 28 #include "third_party/webrtc/api/test/fakeconstraints.h"
29 #include "third_party/libjingle/source/talk/app/webrtc/videosourceinterface.h" 29 #include "third_party/webrtc/api/videosourceinterface.h"
30 30
31 namespace remoting { 31 namespace remoting {
32 namespace protocol { 32 namespace protocol {
33 33
34 // Currently the network thread is also used as worker thread for webrtc. 34 // Currently the network thread is also used as worker thread for webrtc.
35 // 35 //
36 // TODO(sergeyu): Figure out if we would benefit from using a separate 36 // TODO(sergeyu): Figure out if we would benefit from using a separate
37 // thread as a worker thread. 37 // thread as a worker thread.
38 WebrtcConnectionToClient::WebrtcConnectionToClient( 38 WebrtcConnectionToClient::WebrtcConnectionToClient(
39 scoped_ptr<protocol::Session> session, 39 scoped_ptr<protocol::Session> session,
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 DCHECK(thread_checker_.CalledOnValidThread()); 169 DCHECK(thread_checker_.CalledOnValidThread());
170 170
171 if (control_dispatcher_ && control_dispatcher_->is_connected() && 171 if (control_dispatcher_ && control_dispatcher_->is_connected() &&
172 event_dispatcher_ && event_dispatcher_->is_connected()) { 172 event_dispatcher_ && event_dispatcher_->is_connected()) {
173 event_handler_->OnConnectionChannelsConnected(this); 173 event_handler_->OnConnectionChannelsConnected(this);
174 } 174 }
175 } 175 }
176 176
177 } // namespace protocol 177 } // namespace protocol
178 } // namespace remoting 178 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/cast_extension_session.cc ('k') | remoting/protocol/webrtc_data_stream_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698