ZEGO::EXPRESS::IZegoCustomVideoRenderHandler
Declared in
ZegoExpressEventHandler.h
Includes
Public Func Lists
Public Func Docs
onCapturedVideoFrameRawData
public void onCapturedVideoFrameRawData
(unsigned char **
, unsigned int *
, ZegoVideoFrameParam, ZegoVideoFlipMode, ZegoPublishChannel)
本地预览视频帧裸数据回调
Parameters | |
---|---|
data | 视频帧的裸数据(例:RGBA 只需考虑 data[0],I420 需考虑 data[0,1,2]) |
dataLength | 数据的长度(例:RGBA 只需考虑 dataLength[0],I420 需考虑 dataLength[0,1,2]) |
param | 视频帧参数 |
flipMode | 视频帧翻转模式 |
channel | 推流通道 |
onRemoteVideoFrameRawData
public void onRemoteVideoFrameRawData
(unsigned char **
, unsigned int *
, ZegoVideoFrameParam, const std::string &
)
远端拉流视频帧裸数据回调,通过 streamID 区分不同的流
Parameters | |
---|---|
data | 视频帧的裸数据(例:RGBA 只需考虑 data[0],I420 需考虑 data[0,1,2]) |
dataLength | 数据的长度(例:RGBA 只需考虑 dataLength[0],I420 需考虑 dataLength[0,1,2]) |
param | 视频帧参数 |
streamID | 拉流的流 ID |