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

Unified Diff: webrtc/api/java/src/org/webrtc/VideoCapturer.java

Issue 1840193007: Android: Handle SurfaceTextureHelper ctor failure for decoder and capturer (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 9 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
Index: webrtc/api/java/src/org/webrtc/VideoCapturer.java
diff --git a/webrtc/api/java/src/org/webrtc/VideoCapturer.java b/webrtc/api/java/src/org/webrtc/VideoCapturer.java
index 5a515d2261f675d55bc815fa034ab63a34e279a4..f5171e65c50f9fe308b5ae9cc59ed7bff6b5345b 100644
--- a/webrtc/api/java/src/org/webrtc/VideoCapturer.java
+++ b/webrtc/api/java/src/org/webrtc/VideoCapturer.java
@@ -93,7 +93,8 @@ public interface VideoCapturer {
* Start capturing frames in a format that is as close as possible to |width| x |height| and
* |framerate|. If the VideoCapturer wants to deliver texture frames, it should do this by
* rendering on the SurfaceTexture in |surfaceTextureHelper|, register itself as a listener,
- * and forward the texture frames to CapturerObserver.onTextureFrameCaptured().
+ * and forward the texture frames to CapturerObserver.onTextureFrameCaptured(). If
+ // |surfaceTextureHelper| is null, the capturer must deliver byte buffer frames.
*/
void startCapture(
int width, int height, int framerate, SurfaceTextureHelper surfaceTextureHelper,

Powered by Google App Engine
This is Rietveld 408576698