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

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: Undid unneccessary changes to rtp_rtcp module. 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 263
271 class WebRtcAudioReceiveStream; 264 class WebRtcAudioReceiveStream;
272 std::map<uint32_t, WebRtcAudioReceiveStream*> recv_streams_; 265 std::map<uint32_t, WebRtcAudioReceiveStream*> recv_streams_;
273 std::vector<webrtc::RtpExtension> recv_rtp_extensions_; 266 std::vector<webrtc::RtpExtension> recv_rtp_extensions_;
274 267
275 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel); 268 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel);
276 }; 269 };
277 } // namespace cricket 270 } // namespace cricket
278 271
279 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_ 272 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698