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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 | 164 |
165 bool AddVideoRenderer(VideoCapturer* capturer, VideoRenderer* renderer); | 165 bool AddVideoRenderer(VideoCapturer* capturer, VideoRenderer* renderer); |
166 bool RemoveVideoRenderer(VideoCapturer* capturer, VideoRenderer* renderer); | 166 bool RemoveVideoRenderer(VideoCapturer* capturer, VideoRenderer* renderer); |
167 bool IsScreencastRunning() const; | 167 bool IsScreencastRunning() const; |
168 | 168 |
169 // The operations below occur on the main thread. | 169 // The operations below occur on the main thread. |
170 | 170 |
171 // Starts AEC dump using existing file. | 171 // Starts AEC dump using existing file. |
172 bool StartAecDump(rtc::PlatformFile file); | 172 bool StartAecDump(rtc::PlatformFile file); |
173 | 173 |
| 174 // Starts RtcEventLog using existing file. |
| 175 bool StartRtcEventLog(rtc::PlatformFile file); |
| 176 |
| 177 // Stops logging RtcEventLog. |
| 178 void StopRtcEventLog(); |
| 179 |
174 sigslot::signal2<VideoCapturer*, CaptureState> SignalVideoCaptureStateChange; | 180 sigslot::signal2<VideoCapturer*, CaptureState> SignalVideoCaptureStateChange; |
175 | 181 |
176 protected: | 182 protected: |
177 // Adds non-transient parameters which can only be changed through the | 183 // Adds non-transient parameters which can only be changed through the |
178 // options store. | 184 // options store. |
179 bool SetAudioOptions(const AudioOptions& options); | 185 bool SetAudioOptions(const AudioOptions& options); |
180 | 186 |
181 private: | 187 private: |
182 typedef std::vector<VoiceChannel*> VoiceChannels; | 188 typedef std::vector<VoiceChannel*> VoiceChannels; |
183 typedef std::vector<VideoChannel*> VideoChannels; | 189 typedef std::vector<VideoChannel*> VideoChannels; |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 VideoEncoderConfig default_video_encoder_config_; | 241 VideoEncoderConfig default_video_encoder_config_; |
236 VideoRenderer* local_renderer_; | 242 VideoRenderer* local_renderer_; |
237 bool enable_rtx_; | 243 bool enable_rtx_; |
238 | 244 |
239 bool capturing_; | 245 bool capturing_; |
240 }; | 246 }; |
241 | 247 |
242 } // namespace cricket | 248 } // namespace cricket |
243 | 249 |
244 #endif // TALK_SESSION_MEDIA_CHANNELMANAGER_H_ | 250 #endif // TALK_SESSION_MEDIA_CHANNELMANAGER_H_ |
OLD | NEW |