OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2015 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 void Stop() override; | 73 void Stop() override; |
74 bool IsRunning() override; | 74 bool IsRunning() override; |
75 bool IsScreencast() const override { return false; } | 75 bool IsScreencast() const override { return false; } |
76 bool GetPreferredFourccs(std::vector<uint32_t>* fourccs) override; | 76 bool GetPreferredFourccs(std::vector<uint32_t>* fourccs) override; |
77 | 77 |
78 bool running_; | 78 bool running_; |
79 rtc::scoped_refptr<AndroidVideoCapturerDelegate> delegate_; | 79 rtc::scoped_refptr<AndroidVideoCapturerDelegate> delegate_; |
80 | 80 |
81 rtc::ThreadChecker thread_checker_; | 81 rtc::ThreadChecker thread_checker_; |
82 | 82 |
83 class FrameFactory; | |
84 FrameFactory* frame_factory_; // Owned by cricket::VideoCapturer. | |
85 | |
86 cricket::CaptureState current_state_; | 83 cricket::CaptureState current_state_; |
87 }; | 84 }; |
88 | 85 |
89 } // namespace webrtc | 86 } // namespace webrtc |
90 | 87 |
91 #endif // WEBRTC_API_ANDROIDVIDEOCAPTURER_H_ | 88 #endif // WEBRTC_API_ANDROIDVIDEOCAPTURER_H_ |
OLD | NEW |