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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 const VideoFormat& previous_format, | 155 const VideoFormat& previous_format, |
156 const VideoFormat& desired_format, | 156 const VideoFormat& desired_format, |
157 CaptureManager::RestartOptions options); | 157 CaptureManager::RestartOptions options); |
158 | 158 |
159 bool AddVideoRenderer(VideoCapturer* capturer, VideoRenderer* renderer); | 159 bool AddVideoRenderer(VideoCapturer* capturer, VideoRenderer* renderer); |
160 bool RemoveVideoRenderer(VideoCapturer* capturer, VideoRenderer* renderer); | 160 bool RemoveVideoRenderer(VideoCapturer* capturer, VideoRenderer* renderer); |
161 bool IsScreencastRunning() const; | 161 bool IsScreencastRunning() const; |
162 | 162 |
163 // The operations below occur on the main thread. | 163 // The operations below occur on the main thread. |
164 | 164 |
165 // Starts AEC dump using existing file. | 165 // Starts AEC dump using existing file, with a specified maximum file size in |
166 bool StartAecDump(rtc::PlatformFile file); | 166 // bytes. When the limit is reached, logging will stop and the file will be |
| 167 // closed. If max_size_bytes is set to <= 0, no limit will be used. |
| 168 bool StartAecDump(rtc::PlatformFile file, int64_t max_size_bytes); |
167 | 169 |
168 // Stops recording AEC dump. | 170 // Stops recording AEC dump. |
169 void StopAecDump(); | 171 void StopAecDump(); |
170 | 172 |
171 // Starts RtcEventLog using existing file. | 173 // Starts RtcEventLog using existing file. |
172 bool StartRtcEventLog(rtc::PlatformFile file); | 174 bool StartRtcEventLog(rtc::PlatformFile file); |
173 | 175 |
174 // Stops logging RtcEventLog. | 176 // Stops logging RtcEventLog. |
175 void StopRtcEventLog(); | 177 void StopRtcEventLog(); |
176 | 178 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 int audio_output_volume_; | 231 int audio_output_volume_; |
230 VideoRenderer* local_renderer_; | 232 VideoRenderer* local_renderer_; |
231 bool enable_rtx_; | 233 bool enable_rtx_; |
232 | 234 |
233 bool capturing_; | 235 bool capturing_; |
234 }; | 236 }; |
235 | 237 |
236 } // namespace cricket | 238 } // namespace cricket |
237 | 239 |
238 #endif // TALK_SESSION_MEDIA_CHANNELMANAGER_H_ | 240 #endif // TALK_SESSION_MEDIA_CHANNELMANAGER_H_ |
OLD | NEW |