OLD | NEW |
1 /* | 1 /* |
2 * libjingle | 2 * libjingle |
3 * Copyright 2004 Google Inc. | 3 * Copyright 2004 Google Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are met: | 6 * modification, are permitted provided that the following conditions are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright notice, | 8 * 1. Redistributions of source code must retain the above copyright notice, |
9 * this list of conditions and the following disclaimer. | 9 * this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright notice, | 10 * 2. Redistributions in binary form must reproduce the above copyright notice, |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 | 101 |
102 VoEWrapper* voe() { return voe_wrapper_.get(); } | 102 VoEWrapper* voe() { return voe_wrapper_.get(); } |
103 int GetLastEngineError(); | 103 int GetLastEngineError(); |
104 | 104 |
105 // Set the external ADM. This can only be called before Init. | 105 // Set the external ADM. This can only be called before Init. |
106 bool SetAudioDeviceModule(webrtc::AudioDeviceModule* adm); | 106 bool SetAudioDeviceModule(webrtc::AudioDeviceModule* adm); |
107 | 107 |
108 // Starts AEC dump using existing file. | 108 // Starts AEC dump using existing file. |
109 bool StartAecDump(rtc::PlatformFile file); | 109 bool StartAecDump(rtc::PlatformFile file); |
110 | 110 |
| 111 // Same as above, but using a specified maximum file size in bytes. |
| 112 bool StartAecDump(rtc::PlatformFile file, int max_size_bytes); |
| 113 |
111 // Starts recording an RtcEventLog using an existing file until 10 minutes | 114 // Starts recording an RtcEventLog using an existing file until 10 minutes |
112 // pass or the StopRtcEventLog function is called. | 115 // pass or the StopRtcEventLog function is called. |
113 bool StartRtcEventLog(rtc::PlatformFile file); | 116 bool StartRtcEventLog(rtc::PlatformFile file); |
114 | 117 |
115 // Stops recording the RtcEventLog. | 118 // Stops recording the RtcEventLog. |
116 void StopRtcEventLog(); | 119 void StopRtcEventLog(); |
117 | 120 |
118 private: | 121 private: |
119 void Construct(); | 122 void Construct(); |
120 void ConstructCodecs(); | 123 void ConstructCodecs(); |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 // Reads on the worker thread are ok. | 340 // Reads on the worker thread are ok. |
338 std::vector<RtpHeaderExtension> receive_extensions_; | 341 std::vector<RtpHeaderExtension> receive_extensions_; |
339 std::vector<webrtc::RtpExtension> recv_rtp_extensions_; | 342 std::vector<webrtc::RtpExtension> recv_rtp_extensions_; |
340 | 343 |
341 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel); | 344 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel); |
342 }; | 345 }; |
343 | 346 |
344 } // namespace cricket | 347 } // namespace cricket |
345 | 348 |
346 #endif // TALK_MEDIA_WEBRTCVOICEENGINE_H_ | 349 #endif // TALK_MEDIA_WEBRTCVOICEENGINE_H_ |
OLD | NEW |