OLD | NEW |
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 |
11 #ifndef WEBRTC_VIDEO_ENGINE_VIE_CHANNEL_GROUP_H_ | 11 #ifndef WEBRTC_VIDEO_ENGINE_VIE_CHANNEL_GROUP_H_ |
12 #define WEBRTC_VIDEO_ENGINE_VIE_CHANNEL_GROUP_H_ | 12 #define WEBRTC_VIDEO_ENGINE_VIE_CHANNEL_GROUP_H_ |
13 | 13 |
14 #include <list> | 14 #include <list> |
15 #include <map> | 15 #include <map> |
16 #include <set> | 16 #include <set> |
17 #include <vector> | 17 #include <vector> |
18 | 18 |
19 #include "webrtc/base/criticalsection.h" | 19 #include "webrtc/base/criticalsection.h" |
20 #include "webrtc/base/scoped_ptr.h" | 20 #include "webrtc/base/scoped_ptr.h" |
21 #include "webrtc/modules/bitrate_controller/include/bitrate_controller.h" | 21 #include "webrtc/modules/bitrate_controller/include/bitrate_controller.h" |
22 | 22 |
23 namespace webrtc { | 23 namespace webrtc { |
24 | 24 |
| 25 class AdaptedSendTimeHistory; |
25 class BitrateAllocator; | 26 class BitrateAllocator; |
26 class CallStats; | 27 class CallStats; |
27 class Config; | 28 class Config; |
28 class EncoderStateFeedback; | 29 class EncoderStateFeedback; |
29 class PacedSender; | 30 class PacedSender; |
30 class PacketRouter; | 31 class PacketRouter; |
31 class ProcessThread; | 32 class ProcessThread; |
32 class RemoteBitrateEstimator; | 33 class RemoteBitrateEstimator; |
33 class ViEChannel; | 34 class ViEChannel; |
34 class ViEEncoder; | 35 class ViEEncoder; |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 ChannelMap channel_map_; | 94 ChannelMap channel_map_; |
94 // Maps Channel id -> ViEEncoder. | 95 // Maps Channel id -> ViEEncoder. |
95 mutable rtc::CriticalSection encoder_map_crit_; | 96 mutable rtc::CriticalSection encoder_map_crit_; |
96 EncoderMap vie_encoder_map_ GUARDED_BY(encoder_map_crit_); | 97 EncoderMap vie_encoder_map_ GUARDED_BY(encoder_map_crit_); |
97 | 98 |
98 // Registered at construct time and assumed to outlive this class. | 99 // Registered at construct time and assumed to outlive this class. |
99 ProcessThread* process_thread_; | 100 ProcessThread* process_thread_; |
100 rtc::scoped_ptr<ProcessThread> pacer_thread_; | 101 rtc::scoped_ptr<ProcessThread> pacer_thread_; |
101 | 102 |
102 rtc::scoped_ptr<BitrateController> bitrate_controller_; | 103 rtc::scoped_ptr<BitrateController> bitrate_controller_; |
| 104 rtc::scoped_ptr<AdaptedSendTimeHistory> send_time_history_; |
103 }; | 105 }; |
104 | 106 |
105 } // namespace webrtc | 107 } // namespace webrtc |
106 | 108 |
107 #endif // WEBRTC_VIDEO_ENGINE_VIE_CHANNEL_GROUP_H_ | 109 #endif // WEBRTC_VIDEO_ENGINE_VIE_CHANNEL_GROUP_H_ |
OLD | NEW |