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..23c5665d5277db9c5d96e15a89b34666584d3740 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); |
+ void OnTextureFrame(int width, int height, int64_t timestamp, |
+ const NativeHandleImpl& handle); |
void OnOutputFormatRequest(int width, int height, int fps); |
protected: |