diff --git a/webrtc/api/android/java/src/org/webrtc/SurfaceTextureHelper.java b/webrtc/api/android/java/src/org/webrtc/SurfaceTextureHelper.java index 48a57bca5e..c4de0da859 100644 --- a/webrtc/api/android/java/src/org/webrtc/SurfaceTextureHelper.java +++ b/webrtc/api/android/java/src/org/webrtc/SurfaceTextureHelper.java @@ -33,7 +33,7 @@ import java.util.concurrent.TimeUnit; * wrapping texture frames into webrtc::VideoFrames and also handles calling returnTextureFrame() * when the webrtc::VideoFrame is no longer used. */ -class SurfaceTextureHelper { +public class SurfaceTextureHelper { private static final String TAG = "SurfaceTextureHelper"; /** * Callback interface for being notified that a new texture frame is available. The calls will be diff --git a/webrtc/api/android/java/src/org/webrtc/VideoRenderer.java b/webrtc/api/android/java/src/org/webrtc/VideoRenderer.java index 3a6a16771b..bfa4f67d4b 100644 --- a/webrtc/api/android/java/src/org/webrtc/VideoRenderer.java +++ b/webrtc/api/android/java/src/org/webrtc/VideoRenderer.java @@ -45,8 +45,8 @@ public class VideoRenderer { /** * Construct a frame of the given dimensions with the specified planar data. */ - I420Frame(int width, int height, int rotationDegree, int[] yuvStrides, ByteBuffer[] yuvPlanes, - long nativeFramePointer) { + public I420Frame(int width, int height, int rotationDegree, int[] yuvStrides, + ByteBuffer[] yuvPlanes, long nativeFramePointer) { this.width = width; this.height = height; this.yuvStrides = yuvStrides; @@ -73,8 +73,8 @@ public class VideoRenderer { /** * Construct a texture frame of the given dimensions with data in SurfaceTexture */ - I420Frame(int width, int height, int rotationDegree, int textureId, float[] samplingMatrix, - long nativeFramePointer) { + public I420Frame(int width, int height, int rotationDegree, int textureId, + float[] samplingMatrix, long nativeFramePointer) { this.width = width; this.height = height; this.yuvStrides = null;