| OLD | NEW |
| 1 /* | 1 /* |
| 2 * libjingle | 2 * libjingle |
| 3 * Copyright 2015 Google Inc. | 3 * Copyright 2015 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 14 matching lines...) Expand all Loading... |
| 25 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 26 */ | 26 */ |
| 27 #ifndef TALK_APP_WEBRTC_ANDROIDVIDEOCAPTURER_H_ | 27 #ifndef TALK_APP_WEBRTC_ANDROIDVIDEOCAPTURER_H_ |
| 28 #define TALK_APP_WEBRTC_ANDROIDVIDEOCAPTURER_H_ | 28 #define TALK_APP_WEBRTC_ANDROIDVIDEOCAPTURER_H_ |
| 29 | 29 |
| 30 #include <string> | 30 #include <string> |
| 31 #include <vector> | 31 #include <vector> |
| 32 | 32 |
| 33 #include "talk/media/base/videocapturer.h" | 33 #include "talk/media/base/videocapturer.h" |
| 34 #include "webrtc/base/thread_checker.h" | 34 #include "webrtc/base/thread_checker.h" |
| 35 #include "webrtc/common_video/interface/video_frame_buffer.h" | 35 #include "webrtc/common_video/include/video_frame_buffer.h" |
| 36 | 36 |
| 37 namespace webrtc { | 37 namespace webrtc { |
| 38 | 38 |
| 39 class AndroidVideoCapturer; | 39 class AndroidVideoCapturer; |
| 40 | 40 |
| 41 class AndroidVideoCapturerDelegate : public rtc::RefCountInterface { | 41 class AndroidVideoCapturerDelegate : public rtc::RefCountInterface { |
| 42 public: | 42 public: |
| 43 virtual ~AndroidVideoCapturerDelegate() {} | 43 virtual ~AndroidVideoCapturerDelegate() {} |
| 44 // Start capturing. The implementation of the delegate must call | 44 // Start capturing. The implementation of the delegate must call |
| 45 // AndroidVideoCapturer::OnCapturerStarted with the result of this request. | 45 // AndroidVideoCapturer::OnCapturerStarted with the result of this request. |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 | 99 |
| 100 class FrameFactory; | 100 class FrameFactory; |
| 101 FrameFactory* frame_factory_; // Owned by cricket::VideoCapturer. | 101 FrameFactory* frame_factory_; // Owned by cricket::VideoCapturer. |
| 102 | 102 |
| 103 cricket::CaptureState current_state_; | 103 cricket::CaptureState current_state_; |
| 104 }; | 104 }; |
| 105 | 105 |
| 106 } // namespace webrtc | 106 } // namespace webrtc |
| 107 | 107 |
| 108 #endif // TALK_APP_WEBRTC_ANDROIDVIDEOCAPTURER_H_ | 108 #endif // TALK_APP_WEBRTC_ANDROIDVIDEOCAPTURER_H_ |
| OLD | NEW |