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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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. |
171 bool StartAecDump(rtc::PlatformFile file); | 171 bool StartAecDump(rtc::PlatformFile file); |
172 | 172 |
| 173 // Same as above, but with a specified maximum file size in bytes. |
| 174 bool StartAecDump(rtc::PlatformFile file, int max_size_bytes); |
| 175 |
173 // Starts RtcEventLog using existing file. | 176 // Starts RtcEventLog using existing file. |
174 bool StartRtcEventLog(rtc::PlatformFile file); | 177 bool StartRtcEventLog(rtc::PlatformFile file); |
175 | 178 |
176 // Stops logging RtcEventLog. | 179 // Stops logging RtcEventLog. |
177 void StopRtcEventLog(); | 180 void StopRtcEventLog(); |
178 | 181 |
179 sigslot::signal2<VideoCapturer*, CaptureState> SignalVideoCaptureStateChange; | 182 sigslot::signal2<VideoCapturer*, CaptureState> SignalVideoCaptureStateChange; |
180 | 183 |
181 protected: | 184 protected: |
182 // Adds non-transient parameters which can only be changed through the | 185 // Adds non-transient parameters which can only be changed through the |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 VideoEncoderConfig default_video_encoder_config_; | 243 VideoEncoderConfig default_video_encoder_config_; |
241 VideoRenderer* local_renderer_; | 244 VideoRenderer* local_renderer_; |
242 bool enable_rtx_; | 245 bool enable_rtx_; |
243 | 246 |
244 bool capturing_; | 247 bool capturing_; |
245 }; | 248 }; |
246 | 249 |
247 } // namespace cricket | 250 } // namespace cricket |
248 | 251 |
249 #endif // TALK_SESSION_MEDIA_CHANNELMANAGER_H_ | 252 #endif // TALK_SESSION_MEDIA_CHANNELMANAGER_H_ |
OLD | NEW |