OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2004 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2004 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 // The operations below occur on the main thread. | 131 // The operations below occur on the main thread. |
132 | 132 |
133 // Starts AEC dump using existing file, with a specified maximum file size in | 133 // Starts AEC dump using existing file, with a specified maximum file size in |
134 // bytes. When the limit is reached, logging will stop and the file will be | 134 // bytes. When the limit is reached, logging will stop and the file will be |
135 // closed. If max_size_bytes is set to <= 0, no limit will be used. | 135 // closed. If max_size_bytes is set to <= 0, no limit will be used. |
136 bool StartAecDump(rtc::PlatformFile file, int64_t max_size_bytes); | 136 bool StartAecDump(rtc::PlatformFile file, int64_t max_size_bytes); |
137 | 137 |
138 // Stops recording AEC dump. | 138 // Stops recording AEC dump. |
139 void StopAecDump(); | 139 void StopAecDump(); |
140 | 140 |
141 // Starts RtcEventLog using existing file. | |
142 bool StartRtcEventLog(rtc::PlatformFile file, int64_t max_size_bytes); | |
143 | |
144 // Stops logging RtcEventLog. | |
145 void StopRtcEventLog(); | |
146 | |
147 private: | 141 private: |
148 typedef std::vector<VoiceChannel*> VoiceChannels; | 142 typedef std::vector<VoiceChannel*> VoiceChannels; |
149 typedef std::vector<VideoChannel*> VideoChannels; | 143 typedef std::vector<VideoChannel*> VideoChannels; |
150 typedef std::vector<DataChannel*> DataChannels; | 144 typedef std::vector<DataChannel*> DataChannels; |
151 | 145 |
152 void Construct(MediaEngineInterface* me, | 146 void Construct(MediaEngineInterface* me, |
153 DataEngineInterface* dme, | 147 DataEngineInterface* dme, |
154 rtc::Thread* worker_thread, | 148 rtc::Thread* worker_thread, |
155 rtc::Thread* network_thread); | 149 rtc::Thread* network_thread); |
156 bool InitMediaEngine_w(); | 150 bool InitMediaEngine_w(); |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 DataChannels data_channels_; | 185 DataChannels data_channels_; |
192 | 186 |
193 bool enable_rtx_; | 187 bool enable_rtx_; |
194 | 188 |
195 bool capturing_; | 189 bool capturing_; |
196 }; | 190 }; |
197 | 191 |
198 } // namespace cricket | 192 } // namespace cricket |
199 | 193 |
200 #endif // WEBRTC_PC_CHANNELMANAGER_H_ | 194 #endif // WEBRTC_PC_CHANNELMANAGER_H_ |
OLD | NEW |