Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: webrtc/sdk/android/api/org/webrtc/VideoCapturer.java

Issue 2982213002: Add support for capturers to capture VideoFrames. (Closed)
Patch Set: Minor changes Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/sdk/android/instrumentationtests/src/org/webrtc/CameraVideoCapturerTestFixtures.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/sdk/android/api/org/webrtc/VideoCapturer.java
diff --git a/webrtc/sdk/android/api/org/webrtc/VideoCapturer.java b/webrtc/sdk/android/api/org/webrtc/VideoCapturer.java
index 43473faa1786085830994324f42b1e030c0158c3..804560a3c373261f330c1b59b2f8353f45a9c881 100644
--- a/webrtc/sdk/android/api/org/webrtc/VideoCapturer.java
+++ b/webrtc/sdk/android/api/org/webrtc/VideoCapturer.java
@@ -11,7 +11,6 @@
package org.webrtc;
import android.content.Context;
-
import java.util.List;
// Base interface for all VideoCapturers to implement.
@@ -31,6 +30,9 @@ public interface VideoCapturer {
// owned by VideoCapturer.
void onTextureFrameCaptured(int width, int height, int oesTextureId, float[] transformMatrix,
int rotation, long timestamp);
+
+ // Delivers a captured frame. Called on a Java thread owned by VideoCapturer.
+ void onFrameCaptured(VideoFrame frame);
}
/**
« no previous file with comments | « no previous file | webrtc/sdk/android/instrumentationtests/src/org/webrtc/CameraVideoCapturerTestFixtures.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698