public static interface TXLivePusher.VideoCustomProcessListener
Modifier and Type | Method and Description |
---|---|
void |
onDetectFacePoints(float[] points)
增值版回调人脸坐标
|
int |
onTextureCustomProcess(int textureId,
int width,
int height)
在 OpenGL 线程中回调,在这里可以进行采集图像的二次处理
|
void |
onTextureDestoryed()
在 OpenGL 线程中回调,可以在这里释放创建的 OpenGL 资源
|
void onDetectFacePoints(float[] points)
points
- 归一化人脸坐标,每两个值表示某点 P 的 X,Y 值。值域[0.f,1.f]int onTextureCustomProcess(int textureId, int width, int height)
textureId
- 纹理 IDwidth
- 纹理的宽度height
- 纹理的高度说明:SDK 回调出来的纹理类型是 GLES20.GL_TEXTURE_2D,接口返回给 SDK 的纹理类型也必须是 GLES20.GL_TEXTURE_2D
void onTextureDestoryed()