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)
Local preview video frame raw data callback.
| Parameters | |
|---|---|
| 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 frame parameters |
| flipMode | video flip mode |
| channel | Publishing stream channel. |
onRemoteVideoFrameRawData
public void onRemoteVideoFrameRawData (unsigned char **, unsigned int *, ZegoVideoFrameParam, const std::string &)
Remote playing stream video frame raw data callback, you can differentiate different streams by streamID.
| Parameters | |
|---|---|
| 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 frame parameters |
| streamID | Stream ID |