public static interface TXLivePlayer.ITXVideoRawDataListener
Modifier and Type | Method and Description |
---|---|
void |
onVideoRawDataAvailable(byte[] yuvBuffer,
int width,
int height,
int timestamp)
软解码器解出一帧数据回调一次
注意:需要在回调中再次调用TXLivePlayer.addVideoRawData(byte[])将buffer塞给SDK来填充下一帧YUV数据
|
void onVideoRawDataAvailable(byte[] yuvBuffer, int width, int height, int timestamp)
yuvBuffer
- I420格式YUV数据width
- 视频宽度height
- 视频高度timestamp
- 视频PTS