im.zego.zegoexpress.callback.IZegoMediaPlayerVideoHandler
Declared in
callback/IZegoMediaPlayerVideoHandler.java
Public-Func Lists
Public-Func Docs
onVideoFrame
public void onVideoFrame
(ZegoMediaPlayer mediaPlayer, ByteBuffer[]
data, int[]
dataLength, ZegoVideoFrameParam param)
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 frame flip mode |