| Index: talk/app/webrtc/java/jni/androidvideocapturer_jni.h
|
| diff --git a/talk/app/webrtc/java/jni/androidvideocapturer_jni.h b/talk/app/webrtc/java/jni/androidvideocapturer_jni.h
|
| index cd3dd9af6454e98276d6957dce4422b35e988a64..0a88df6f4f5505518f00be3191165d472df87774 100644
|
| --- a/talk/app/webrtc/java/jni/androidvideocapturer_jni.h
|
| +++ b/talk/app/webrtc/java/jni/androidvideocapturer_jni.h
|
| @@ -39,6 +39,8 @@
|
|
|
| namespace webrtc_jni {
|
|
|
| +class NativeHandleImpl;
|
| +
|
| // AndroidVideoCapturerJni implements AndroidVideoCapturerDelegate.
|
| // The purpose of the delegate is to hide the JNI specifics from the C++ only
|
| // AndroidVideoCapturer.
|
| @@ -56,12 +58,10 @@ class AndroidVideoCapturerJni : public webrtc::AndroidVideoCapturerDelegate {
|
|
|
| // Called from VideoCapturerAndroid::NativeObserver on a Java thread.
|
| void OnCapturerStarted(bool success);
|
| - void OnIncomingFrame(void* video_frame,
|
| - int length,
|
| - int width,
|
| - int height,
|
| - int rotation,
|
| - int64_t time_stamp);
|
| + void OnMemoryBufferFrame(void* video_frame, int length, int width,
|
| + int height, int rotation, int64_t timestamp_ns);
|
| + void OnTextureFrame(int width, int height, int64_t timestamp_ns,
|
| + const NativeHandleImpl& handle);
|
| void OnOutputFormatRequest(int width, int height, int fps);
|
|
|
| protected:
|
|
|