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

Side by Side Diff: remoting/protocol/webrtc_transport.h

Issue 1908203002: Adapt encoder behavior to target bitrate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved webrtc encoder to its own file Created 4 years, 7 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
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 #ifndef REMOTING_PROTOCOL_WEBRTC_TRANSPORT_H_ 5 #ifndef REMOTING_PROTOCOL_WEBRTC_TRANSPORT_H_
6 #define REMOTING_PROTOCOL_WEBRTC_TRANSPORT_H_ 6 #define REMOTING_PROTOCOL_WEBRTC_TRANSPORT_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_vector.h" 13 #include "base/memory/scoped_vector.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/threading/thread_checker.h" 15 #include "base/threading/thread_checker.h"
16 #include "base/timer/timer.h" 16 #include "base/timer/timer.h"
17 #include "crypto/hmac.h" 17 #include "crypto/hmac.h"
18 #include "remoting/protocol/transport.h" 18 #include "remoting/protocol/transport.h"
19 #include "remoting/protocol/webrtc_data_stream_adapter.h" 19 #include "remoting/protocol/webrtc_data_stream_adapter.h"
20 #include "remoting/protocol/webrtc_video_encoder.h" 20 #include "remoting/protocol/webrtc_video_encoder_factory.h"
21 #include "remoting/signaling/signal_strategy.h" 21 #include "remoting/signaling/signal_strategy.h"
22 #include "third_party/webrtc/api/peerconnectioninterface.h" 22 #include "third_party/webrtc/api/peerconnectioninterface.h"
23 23
24 namespace webrtc { 24 namespace webrtc {
25 class FakeAudioDeviceModule; 25 class FakeAudioDeviceModule;
26 } // namespace webrtc 26 } // namespace webrtc
27 27
28 namespace remoting { 28 namespace remoting {
29 namespace protocol { 29 namespace protocol {
30 30
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 146
147 base::WeakPtrFactory<WebrtcTransport> weak_factory_; 147 base::WeakPtrFactory<WebrtcTransport> weak_factory_;
148 148
149 DISALLOW_COPY_AND_ASSIGN(WebrtcTransport); 149 DISALLOW_COPY_AND_ASSIGN(WebrtcTransport);
150 }; 150 };
151 151
152 } // namespace protocol 152 } // namespace protocol
153 } // namespace remoting 153 } // namespace remoting
154 154
155 #endif // REMOTING_PROTOCOL_WEBRTC_TRANSPORT_H_ 155 #endif // REMOTING_PROTOCOL_WEBRTC_TRANSPORT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698