| 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 |
| 141 private: | 147 private: |
| 142 typedef std::vector<VoiceChannel*> VoiceChannels; | 148 typedef std::vector<VoiceChannel*> VoiceChannels; |
| 143 typedef std::vector<VideoChannel*> VideoChannels; | 149 typedef std::vector<VideoChannel*> VideoChannels; |
| 144 typedef std::vector<DataChannel*> DataChannels; | 150 typedef std::vector<DataChannel*> DataChannels; |
| 145 | 151 |
| 146 void Construct(MediaEngineInterface* me, | 152 void Construct(MediaEngineInterface* me, |
| 147 DataEngineInterface* dme, | 153 DataEngineInterface* dme, |
| 148 rtc::Thread* worker_thread, | 154 rtc::Thread* worker_thread, |
| 149 rtc::Thread* network_thread); | 155 rtc::Thread* network_thread); |
| 150 bool InitMediaEngine_w(); | 156 bool InitMediaEngine_w(); |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 DataChannels data_channels_; | 191 DataChannels data_channels_; |
| 186 | 192 |
| 187 bool enable_rtx_; | 193 bool enable_rtx_; |
| 188 | 194 |
| 189 bool capturing_; | 195 bool capturing_; |
| 190 }; | 196 }; |
| 191 | 197 |
| 192 } // namespace cricket | 198 } // namespace cricket |
| 193 | 199 |
| 194 #endif // WEBRTC_PC_CHANNELMANAGER_H_ | 200 #endif // WEBRTC_PC_CHANNELMANAGER_H_ |
| OLD | NEW |