Android(Java)[v1.7.5.0]
|
外接视频纹理滤镜接口。 更多...
Public 成员函数 | |
int | onVideoFrame (int textureId, int width, int height, int rotation, byte[] yuvData) |
处理视频帧。 更多... | |
void | releaseOnGlThread () |
用于释放外部OpenGL资源的回调。 更多... | |
外接视频纹理滤镜接口。
int com.pano.rtc.api.RtcVideoTextureFilter.onVideoFrame | ( | int | textureId, |
int | width, | ||
int | height, | ||
int | rotation, | ||
byte[] | yuvData | ||
) |
处理视频帧。
textureId | 纹理id。 |
width | 宽度。 |
height | 高度。 |
rotation | 旋转角度。 |
yuvData | YUV数据。固定为I420格式,每个平面都是连续的。 |
void com.pano.rtc.api.RtcVideoTextureFilter.releaseOnGlThread | ( | ) |
用于释放外部OpenGL资源的回调。