ZEGO::EXPRESS::IZegoMediaPlayerVideoHandler

Declared in ZegoExpressEventHandler.h

Includes

Public Func Lists

Public Func Docs

onVideoFrame

public void onVideoFrame ( *IZegoMediaPlayer, const unsigned char **, unsigned int *, ZegoVideoFrameParam)

播放器抛视频数据的回调

Parameters
mediaPlayer 回调的播放器实例
data 视频帧的裸数据(例:RGBA 只需考虑 data[0],I420 需考虑 data[0,1,2])
dataLength 数据的长度(例:RGBA 只需考虑 dataLength[0],I420 需考虑 dataLength[0,1,2])
param 视频帧参数