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

Side by Side Diff: webrtc/modules/congestion_controller/include/congestion_controller.h

Issue 1748403002: Move RtcEventLog object from inside VoiceEngine to Call. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Undid unneccessary changes to rtp_rtcp module. Created 4 years, 9 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 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 15 matching lines...) Expand all
26 26
27 namespace webrtc { 27 namespace webrtc {
28 28
29 class BitrateController; 29 class BitrateController;
30 class BitrateObserver; 30 class BitrateObserver;
31 class Clock; 31 class Clock;
32 class PacedSender; 32 class PacedSender;
33 class ProcessThread; 33 class ProcessThread;
34 class RemoteBitrateEstimator; 34 class RemoteBitrateEstimator;
35 class RemoteBitrateObserver; 35 class RemoteBitrateObserver;
36 class RtcEventLog;
36 class TransportFeedbackObserver; 37 class TransportFeedbackObserver;
37 38
38 class CongestionController : public CallStatsObserver, public Module { 39 class CongestionController : public CallStatsObserver, public Module {
39 public: 40 public:
40 CongestionController(Clock* clock, 41 CongestionController(Clock* clock,
41 BitrateObserver* bitrate_observer, 42 BitrateObserver* bitrate_observer,
42 RemoteBitrateObserver* remote_bitrate_observer); 43 RemoteBitrateObserver* remote_bitrate_observer,
44 RtcEventLog* event_log);
43 virtual ~CongestionController(); 45 virtual ~CongestionController();
44 46
45 virtual void SetBweBitrates(int min_bitrate_bps, 47 virtual void SetBweBitrates(int min_bitrate_bps,
46 int start_bitrate_bps, 48 int start_bitrate_bps,
47 int max_bitrate_bps); 49 int max_bitrate_bps);
48 virtual void SignalNetworkState(NetworkState state); 50 virtual void SignalNetworkState(NetworkState state);
49 virtual BitrateController* GetBitrateController() const; 51 virtual BitrateController* GetBitrateController() const;
50 virtual RemoteBitrateEstimator* GetRemoteBitrateEstimator( 52 virtual RemoteBitrateEstimator* GetRemoteBitrateEstimator(
51 bool send_side_bwe); 53 bool send_side_bwe);
52 virtual int64_t GetPacerQueuingDelayMs() const; 54 virtual int64_t GetPacerQueuingDelayMs() const;
(...skipping 24 matching lines...) Expand all
77 RemoteEstimatorProxy remote_estimator_proxy_; 79 RemoteEstimatorProxy remote_estimator_proxy_;
78 TransportFeedbackAdapter transport_feedback_adapter_; 80 TransportFeedbackAdapter transport_feedback_adapter_;
79 int min_bitrate_bps_; 81 int min_bitrate_bps_;
80 82
81 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController); 83 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController);
82 }; 84 };
83 85
84 } // namespace webrtc 86 } // namespace webrtc
85 87
86 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_CONGESTION_CONTROLLER_H_ 88 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_CONGESTION_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698