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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 // The operations below occur on the main thread. | 118 // The operations below occur on the main thread. |
119 | 119 |
120 // Starts AEC dump using existing file, with a specified maximum file size in | 120 // Starts AEC dump using existing file, with a specified maximum file size in |
121 // bytes. When the limit is reached, logging will stop and the file will be | 121 // bytes. When the limit is reached, logging will stop and the file will be |
122 // closed. If max_size_bytes is set to <= 0, no limit will be used. | 122 // closed. If max_size_bytes is set to <= 0, no limit will be used. |
123 bool StartAecDump(rtc::PlatformFile file, int64_t max_size_bytes); | 123 bool StartAecDump(rtc::PlatformFile file, int64_t max_size_bytes); |
124 | 124 |
125 // Stops recording AEC dump. | 125 // Stops recording AEC dump. |
126 void StopAecDump(); | 126 void StopAecDump(); |
127 | 127 |
128 // Starts RtcEventLog using existing file. | |
129 bool StartRtcEventLog(rtc::PlatformFile file); | |
130 | |
131 // Stops logging RtcEventLog. | |
132 void StopRtcEventLog(); | |
133 | |
134 private: | 128 private: |
135 typedef std::vector<VoiceChannel*> VoiceChannels; | 129 typedef std::vector<VoiceChannel*> VoiceChannels; |
136 typedef std::vector<VideoChannel*> VideoChannels; | 130 typedef std::vector<VideoChannel*> VideoChannels; |
137 typedef std::vector<DataChannel*> DataChannels; | 131 typedef std::vector<DataChannel*> DataChannels; |
138 | 132 |
139 void Construct(MediaEngineInterface* me, | 133 void Construct(MediaEngineInterface* me, |
140 DataEngineInterface* dme, | 134 DataEngineInterface* dme, |
141 rtc::Thread* worker_thread); | 135 rtc::Thread* worker_thread); |
142 bool InitMediaEngine_w(); | 136 bool InitMediaEngine_w(); |
143 void DestructorDeletes_w(); | 137 void DestructorDeletes_w(); |
(...skipping 30 matching lines...) Expand all Loading... |
174 | 168 |
175 int audio_output_volume_; | 169 int audio_output_volume_; |
176 bool enable_rtx_; | 170 bool enable_rtx_; |
177 | 171 |
178 bool capturing_; | 172 bool capturing_; |
179 }; | 173 }; |
180 | 174 |
181 } // namespace cricket | 175 } // namespace cricket |
182 | 176 |
183 #endif // WEBRTC_PC_CHANNELMANAGER_H_ | 177 #endif // WEBRTC_PC_CHANNELMANAGER_H_ |
OLD | NEW |