| OLD | NEW |
| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 | 81 |
| 82 // Starts AEC dump using an existing file. A maximum file size in bytes can be | 82 // Starts AEC dump using an existing file. A maximum file size in bytes can be |
| 83 // specified. When the maximum file size is reached, logging is stopped and | 83 // specified. When the maximum file size is reached, logging is stopped and |
| 84 // the file is closed. If max_size_bytes is set to <= 0, no limit will be | 84 // the file is closed. If max_size_bytes is set to <= 0, no limit will be |
| 85 // used. | 85 // used. |
| 86 bool StartAecDump(rtc::PlatformFile file, int64_t max_size_bytes); | 86 bool StartAecDump(rtc::PlatformFile file, int64_t max_size_bytes); |
| 87 | 87 |
| 88 // Stops AEC dump. | 88 // Stops AEC dump. |
| 89 void StopAecDump(); | 89 void StopAecDump(); |
| 90 | 90 |
| 91 // Starts recording an RtcEventLog using an existing file until 10 minutes | |
| 92 // pass or the StopRtcEventLog function is called. | |
| 93 bool StartRtcEventLog(rtc::PlatformFile file); | |
| 94 | |
| 95 // Stops recording the RtcEventLog. | |
| 96 void StopRtcEventLog(); | |
| 97 | |
| 98 private: | 91 private: |
| 99 void Construct(); | 92 void Construct(); |
| 100 bool InitInternal(); | 93 bool InitInternal(); |
| 101 // Every option that is "set" will be applied. Every option not "set" will be | 94 // Every option that is "set" will be applied. Every option not "set" will be |
| 102 // ignored. This allows us to selectively turn on and off different options | 95 // ignored. This allows us to selectively turn on and off different options |
| 103 // easily at any time. | 96 // easily at any time. |
| 104 bool ApplyOptions(const AudioOptions& options); | 97 bool ApplyOptions(const AudioOptions& options); |
| 105 void SetDefaultDevices(); | 98 void SetDefaultDevices(); |
| 106 | 99 |
| 107 // webrtc::TraceCallback: | 100 // webrtc::TraceCallback: |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 int cng_payload_type = -1; | 278 int cng_payload_type = -1; |
| 286 int cng_plfreq = -1; | 279 int cng_plfreq = -1; |
| 287 webrtc::CodecInst codec_inst; | 280 webrtc::CodecInst codec_inst; |
| 288 } send_codec_spec_; | 281 } send_codec_spec_; |
| 289 | 282 |
| 290 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel); | 283 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel); |
| 291 }; | 284 }; |
| 292 } // namespace cricket | 285 } // namespace cricket |
| 293 | 286 |
| 294 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_ | 287 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_ |
| OLD | NEW |