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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 const VideoFormat& previous_format, | 160 const VideoFormat& previous_format, |
161 const VideoFormat& desired_format, | 161 const VideoFormat& desired_format, |
162 CaptureManager::RestartOptions options); | 162 CaptureManager::RestartOptions options); |
163 | 163 |
164 bool AddVideoRenderer(VideoCapturer* capturer, VideoRenderer* renderer); | 164 bool AddVideoRenderer(VideoCapturer* capturer, VideoRenderer* renderer); |
165 bool RemoveVideoRenderer(VideoCapturer* capturer, VideoRenderer* renderer); | 165 bool RemoveVideoRenderer(VideoCapturer* capturer, VideoRenderer* renderer); |
166 bool IsScreencastRunning() const; | 166 bool IsScreencastRunning() const; |
167 | 167 |
168 // The operations below occur on the main thread. | 168 // The operations below occur on the main thread. |
169 | 169 |
170 // Starts AEC dump using existing file. | 170 // Starts AEC dump using existing file, with a specified maximum file size in |
171 bool StartAecDump(rtc::PlatformFile file); | 171 // bytes. When the limit is reached, logging will stop and the file will be |
| 172 // closed. If max_size_bytes is set to <= 0, no limit will be used. |
| 173 bool StartAecDump(rtc::PlatformFile file, int64_t max_size_bytes); |
172 | 174 |
173 // Starts RtcEventLog using existing file. | 175 // Starts RtcEventLog using existing file. |
174 bool StartRtcEventLog(rtc::PlatformFile file); | 176 bool StartRtcEventLog(rtc::PlatformFile file); |
175 | 177 |
176 // Stops logging RtcEventLog. | 178 // Stops logging RtcEventLog. |
177 void StopRtcEventLog(); | 179 void StopRtcEventLog(); |
178 | 180 |
179 sigslot::signal2<VideoCapturer*, CaptureState> SignalVideoCaptureStateChange; | 181 sigslot::signal2<VideoCapturer*, CaptureState> SignalVideoCaptureStateChange; |
180 | 182 |
181 protected: | 183 protected: |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 VideoEncoderConfig default_video_encoder_config_; | 242 VideoEncoderConfig default_video_encoder_config_; |
241 VideoRenderer* local_renderer_; | 243 VideoRenderer* local_renderer_; |
242 bool enable_rtx_; | 244 bool enable_rtx_; |
243 | 245 |
244 bool capturing_; | 246 bool capturing_; |
245 }; | 247 }; |
246 | 248 |
247 } // namespace cricket | 249 } // namespace cricket |
248 | 250 |
249 #endif // TALK_SESSION_MEDIA_CHANNELMANAGER_H_ | 251 #endif // TALK_SESSION_MEDIA_CHANNELMANAGER_H_ |
OLD | NEW |