| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2012 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 cricket::VideoCapturer* capturer, | 68 cricket::VideoCapturer* capturer, |
| 69 bool remote); | 69 bool remote); |
| 70 virtual ~VideoCapturerTrackSource(); | 70 virtual ~VideoCapturerTrackSource(); |
| 71 void Initialize(const webrtc::MediaConstraintsInterface* constraints); | 71 void Initialize(const webrtc::MediaConstraintsInterface* constraints); |
| 72 | 72 |
| 73 private: | 73 private: |
| 74 void OnStateChange(cricket::VideoCapturer* capturer, | 74 void OnStateChange(cricket::VideoCapturer* capturer, |
| 75 cricket::CaptureState capture_state); | 75 cricket::CaptureState capture_state); |
| 76 | 76 |
| 77 rtc::Thread* signaling_thread_; | 77 rtc::Thread* signaling_thread_; |
| 78 rtc::Thread* worker_thread_; |
| 78 rtc::AsyncInvoker invoker_; | 79 rtc::AsyncInvoker invoker_; |
| 79 rtc::scoped_ptr<cricket::VideoCapturer> video_capturer_; | 80 rtc::scoped_ptr<cricket::VideoCapturer> video_capturer_; |
| 80 bool started_; | 81 bool started_; |
| 81 cricket::VideoFormat format_; | 82 cricket::VideoFormat format_; |
| 82 rtc::Optional<bool> needs_denoising_; | 83 rtc::Optional<bool> needs_denoising_; |
| 83 }; | 84 }; |
| 84 | 85 |
| 85 } // namespace webrtc | 86 } // namespace webrtc |
| 86 | 87 |
| 87 #endif // WEBRTC_API_VIDEOCAPTURERTRACKSOURCE_H_ | 88 #endif // WEBRTC_API_VIDEOCAPTURERTRACKSOURCE_H_ |
| OLD | NEW |