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

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

Issue 1974453002: Add a parameter to set a maximum filesize when starting an RTC event log on the PeerConnectionFacto… (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixed typo in JNI code. Created 4 years, 7 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
« no previous file with comments | « webrtc/media/engine/webrtcvoiceengine.cc ('k') | webrtc/pc/channelmanager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
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. 128 // Starts RtcEventLog using existing file.
129 bool StartRtcEventLog(rtc::PlatformFile file); 129 bool StartRtcEventLog(rtc::PlatformFile file, int64_t max_size_bytes);
130 130
131 // Stops logging RtcEventLog. 131 // Stops logging RtcEventLog.
132 void StopRtcEventLog(); 132 void StopRtcEventLog();
133 133
134 private: 134 private:
135 typedef std::vector<VoiceChannel*> VoiceChannels; 135 typedef std::vector<VoiceChannel*> VoiceChannels;
136 typedef std::vector<VideoChannel*> VideoChannels; 136 typedef std::vector<VideoChannel*> VideoChannels;
137 typedef std::vector<DataChannel*> DataChannels; 137 typedef std::vector<DataChannel*> DataChannels;
138 138
139 void Construct(MediaEngineInterface* me, 139 void Construct(MediaEngineInterface* me,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 174
175 int audio_output_volume_; 175 int audio_output_volume_;
176 bool enable_rtx_; 176 bool enable_rtx_;
177 177
178 bool capturing_; 178 bool capturing_;
179 }; 179 };
180 180
181 } // namespace cricket 181 } // namespace cricket
182 182
183 #endif // WEBRTC_PC_CHANNELMANAGER_H_ 183 #endif // WEBRTC_PC_CHANNELMANAGER_H_
OLDNEW
« no previous file with comments | « webrtc/media/engine/webrtcvoiceengine.cc ('k') | webrtc/pc/channelmanager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698