OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 rtc::scoped_refptr<webrtc_jni::SurfaceTextureHelper> | 64 rtc::scoped_refptr<webrtc_jni::SurfaceTextureHelper> |
65 surface_texture_helper() { | 65 surface_texture_helper() { |
66 return surface_texture_helper_; | 66 return surface_texture_helper_; |
67 } | 67 } |
68 | 68 |
69 private: | 69 private: |
70 rtc::Thread* signaling_thread_; | 70 rtc::Thread* signaling_thread_; |
71 rtc::AsyncInvoker invoker_; | 71 rtc::AsyncInvoker invoker_; |
72 rtc::ThreadChecker camera_thread_checker_; | 72 rtc::ThreadChecker camera_thread_checker_; |
73 SourceState state_; | 73 SourceState state_; |
74 rtc::VideoBroadcaster broadcaster_; | |
75 rtc::TimestampAligner timestamp_aligner_; | 74 rtc::TimestampAligner timestamp_aligner_; |
76 NV12ToI420Scaler nv12toi420_scaler_; | 75 NV12ToI420Scaler nv12toi420_scaler_; |
77 I420BufferPool buffer_pool_; | 76 I420BufferPool buffer_pool_; |
78 rtc::scoped_refptr<webrtc_jni::SurfaceTextureHelper> surface_texture_helper_; | 77 rtc::scoped_refptr<webrtc_jni::SurfaceTextureHelper> surface_texture_helper_; |
79 const bool is_screencast_; | 78 const bool is_screencast_; |
80 }; | 79 }; |
81 | 80 |
82 } // namespace webrtc | 81 } // namespace webrtc |
83 | 82 |
84 #endif // WEBRTC_API_ANDROID_JNI_ANDROIDVIDEOTRACKSOURCE_H_ | 83 #endif // WEBRTC_API_ANDROID_JNI_ANDROIDVIDEOTRACKSOURCE_H_ |
OLD | NEW |