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)
TXLivePlayer.addVideoRawData(byte[])
将 buffer 塞给 SDK 来填充下一帧 YUV 数据。yuvBuffer
- I420格式 YUV 数据width
- 视频宽度height
- 视频高度timestamp
- 视频 PTS