VisitFace/RtspNativeCodec/app/src/main/java/com/example/nativecodec/TextureRender.java
@@ -213,6 +213,7 @@ } public void readPixels(Buffer buf) { GLES20.glReadPixels(0, 0, 640, 480, GLES20.GL_RGB, GLES20.GL_UNSIGNED_BYTE, buf); GLES20.glReadPixels(0, 0, 1, 1, GL10.GL_RGB, GL10.GL_UNSIGNED_BYTE, buf); //GLES20.glReadPixels(0, 0, 640, 480, GLES20.GL_RGB, GLES20.GL_UNSIGNED_BYTE, buf); } }