ZEGO::EXPRESS::IZegoMediaPlayerVideoHandler

Declared in ZegoExpressEventHandler.h

Includes

Public-Func Lists

  • onVideoFrame - Callback notification of player throwing video data.

Public-Func Docs

onVideoFrame

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

Callback notification of player throwing video data.

Parameters
mediaPlayer Callback player object
data Raw data of video frames (eg: RGBA only needs to consider data[0], I420 needs to consider data[0,1,2])
dataLength Data length (eg: RGBA only needs to consider dataLength[0], I420 needs to consider dataLength[0,1,2])
param video data frame param