public interface IZegoExternalVideoDataCallback
| Modifier and Type | Method and Description |
|---|---|
void |
onVideoData(java.nio.ByteBuffer[] data,
java.lang.String streamID,
int width,
int height,
int[] strides,
int pixelFormat)
Delivers decoded video frames for each input stream.
|
void onVideoData(java.nio.ByteBuffer[] data,
java.lang.String streamID,
int width,
int height,
int[] strides,
int pixelFormat)
data - Video data.streamID - Stream ID.width - Video width.height - Video height.strides - Number of bytes per row for each plane.pixelFormat - Video pixel format. See ZegoVideoPixelFormat.
This callback is enabled for mixed recording by calling ZegoLiveRoom.enableExternalRender(boolean) with true.