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

Side by Side Diff: talk/media/base/mediaengine.h

Issue 1533913004: Revert of Added option to specify a maximum file size when recording an AEC dump. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years 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 | « talk/media/base/fakemediaengine.h ('k') | talk/media/webrtc/fakewebrtcvoiceengine.h » ('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 * 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 virtual bool SetOutputVolume(int level) = 0; 95 virtual bool SetOutputVolume(int level) = 0;
96 96
97 // Gets the current microphone level, as a value between 0 and 10. 97 // Gets the current microphone level, as a value between 0 and 10.
98 virtual int GetInputLevel() = 0; 98 virtual int GetInputLevel() = 0;
99 99
100 virtual const std::vector<AudioCodec>& audio_codecs() = 0; 100 virtual const std::vector<AudioCodec>& audio_codecs() = 0;
101 virtual RtpCapabilities GetAudioCapabilities() = 0; 101 virtual RtpCapabilities GetAudioCapabilities() = 0;
102 virtual const std::vector<VideoCodec>& video_codecs() = 0; 102 virtual const std::vector<VideoCodec>& video_codecs() = 0;
103 virtual RtpCapabilities GetVideoCapabilities() = 0; 103 virtual RtpCapabilities GetVideoCapabilities() = 0;
104 104
105 // Starts AEC dump using existing file, a maximum file size in bytes can be 105 // Starts AEC dump using existing file.
106 // specified. Logging is stopped just before the size limit is exceeded. 106 virtual bool StartAecDump(rtc::PlatformFile file) = 0;
107 // If max_size_bytes is set to a value <= 0, no limit will be used.
108 virtual bool StartAecDump(rtc::PlatformFile file, int64_t max_size_bytes) = 0;
109 107
110 // Stops recording AEC dump. 108 // Stops recording AEC dump.
111 virtual void StopAecDump() = 0; 109 virtual void StopAecDump() = 0;
112 110
113 // Starts RtcEventLog using existing file. 111 // Starts RtcEventLog using existing file.
114 virtual bool StartRtcEventLog(rtc::PlatformFile file) = 0; 112 virtual bool StartRtcEventLog(rtc::PlatformFile file) = 0;
115 113
116 // Stops recording an RtcEventLog. 114 // Stops recording an RtcEventLog.
117 virtual void StopRtcEventLog() = 0; 115 virtual void StopRtcEventLog() = 0;
118 }; 116 };
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 virtual RtpCapabilities GetAudioCapabilities() { 178 virtual RtpCapabilities GetAudioCapabilities() {
181 return voice_.GetCapabilities(); 179 return voice_.GetCapabilities();
182 } 180 }
183 virtual const std::vector<VideoCodec>& video_codecs() { 181 virtual const std::vector<VideoCodec>& video_codecs() {
184 return video_.codecs(); 182 return video_.codecs();
185 } 183 }
186 virtual RtpCapabilities GetVideoCapabilities() { 184 virtual RtpCapabilities GetVideoCapabilities() {
187 return video_.GetCapabilities(); 185 return video_.GetCapabilities();
188 } 186 }
189 187
190 virtual bool StartAecDump(rtc::PlatformFile file, int64_t max_size_bytes) { 188 virtual bool StartAecDump(rtc::PlatformFile file) {
191 return voice_.StartAecDump(file, max_size_bytes); 189 return voice_.StartAecDump(file);
192 } 190 }
193 191
194 virtual void StopAecDump() { 192 virtual void StopAecDump() {
195 voice_.StopAecDump(); 193 voice_.StopAecDump();
196 } 194 }
197 195
198 virtual bool StartRtcEventLog(rtc::PlatformFile file) { 196 virtual bool StartRtcEventLog(rtc::PlatformFile file) {
199 return voice_.StartRtcEventLog(file); 197 return voice_.StartRtcEventLog(file);
200 } 198 }
201 199
(...skipping 13 matching lines...) Expand all
215 class DataEngineInterface { 213 class DataEngineInterface {
216 public: 214 public:
217 virtual ~DataEngineInterface() {} 215 virtual ~DataEngineInterface() {}
218 virtual DataMediaChannel* CreateChannel(DataChannelType type) = 0; 216 virtual DataMediaChannel* CreateChannel(DataChannelType type) = 0;
219 virtual const std::vector<DataCodec>& data_codecs() = 0; 217 virtual const std::vector<DataCodec>& data_codecs() = 0;
220 }; 218 };
221 219
222 } // namespace cricket 220 } // namespace cricket
223 221
224 #endif // TALK_MEDIA_BASE_MEDIAENGINE_H_ 222 #endif // TALK_MEDIA_BASE_MEDIAENGINE_H_
OLDNEW
« no previous file with comments | « talk/media/base/fakemediaengine.h ('k') | talk/media/webrtc/fakewebrtcvoiceengine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698