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

Side by Side Diff: webrtc/pc/channelmanager.h

Issue 1748403002: Move RtcEventLog object from inside VoiceEngine to Call. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Another rebase and accompanying changes. Created 4 years, 5 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 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
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
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_
OLDNEW
« no previous file with comments | « webrtc/modules/remote_bitrate_estimator/test/estimators/send_side.cc ('k') | webrtc/pc/channelmanager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698