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

Side by Side Diff: webrtc/media/engine/webrtcvoiceengine.h

Issue 1748403002: Move RtcEventLog object from inside VoiceEngine to Call. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Processed review comments and rebased. Created 4 years, 9 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 (c) 2004 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 // Starts AEC dump using an existing file. A maximum file size in bytes can be 81 // Starts AEC dump using an existing file. A maximum file size in bytes can be
82 // specified. When the maximum file size is reached, logging is stopped and 82 // specified. When the maximum file size is reached, logging is stopped and
83 // the file is closed. If max_size_bytes is set to <= 0, no limit will be 83 // the file is closed. If max_size_bytes is set to <= 0, no limit will be
84 // used. 84 // used.
85 bool StartAecDump(rtc::PlatformFile file, int64_t max_size_bytes); 85 bool StartAecDump(rtc::PlatformFile file, int64_t max_size_bytes);
86 86
87 // Stops AEC dump. 87 // Stops AEC dump.
88 void StopAecDump(); 88 void StopAecDump();
89 89
90 // Starts recording an RtcEventLog using an existing file until 10 minutes
91 // pass or the StopRtcEventLog function is called.
92 bool StartRtcEventLog(rtc::PlatformFile file);
93
94 // Stops recording the RtcEventLog.
95 void StopRtcEventLog();
96
97 private: 90 private:
98 void Construct(); 91 void Construct();
99 bool InitInternal(); 92 bool InitInternal();
100 // Every option that is "set" will be applied. Every option not "set" will be 93 // Every option that is "set" will be applied. Every option not "set" will be
101 // ignored. This allows us to selectively turn on and off different options 94 // ignored. This allows us to selectively turn on and off different options
102 // easily at any time. 95 // easily at any time.
103 bool ApplyOptions(const AudioOptions& options); 96 bool ApplyOptions(const AudioOptions& options);
104 void SetDefaultDevices(); 97 void SetDefaultDevices();
105 98
106 // webrtc::TraceCallback: 99 // webrtc::TraceCallback:
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 int cng_payload_type = -1; 275 int cng_payload_type = -1;
283 int cng_plfreq = -1; 276 int cng_plfreq = -1;
284 webrtc::CodecInst codec_inst; 277 webrtc::CodecInst codec_inst;
285 } send_codec_spec_; 278 } send_codec_spec_;
286 279
287 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel); 280 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel);
288 }; 281 };
289 } // namespace cricket 282 } // namespace cricket
290 283
291 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_ 284 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698