Video SDK v3.7.1 API Reference for Unity
|
Public Attributes | |
VIDEO_FRAME_TYPE | type |
int | width |
int | height |
int | yStride |
byte[] | buffer |
int | rotation |
long | renderTimeMs |
int | avsync_type |
Video frame containing the Agora RTC SDK's encoded video data.
VIDEO_FRAME_TYPE agora_gaming_rtc.VideoFrame.type |
The video frame type: VIDEO_FRAME_TYPE.
int agora_gaming_rtc.VideoFrame.width |
Width (pixel) of the video frame.
int agora_gaming_rtc.VideoFrame.height |
Height (pixel) of the video frame.
int agora_gaming_rtc.VideoFrame.yStride |
Line span of the Y buffer within the video data.
byte [] agora_gaming_rtc.VideoFrame.buffer |
The buffer of the RGBA data.
IntPtr agora_gaming_rtc.VideoFrame.bufferPtr |
int agora_gaming_rtc.VideoFrame.rotation |
Set the rotation of this frame before rendering the video. Supports 0, 90, 180, 270 degrees clockwise.
long agora_gaming_rtc.VideoFrame.renderTimeMs |
The timestamp of the external audio frame. It is mandatory. You can use this parameter for the following purposes:
int agora_gaming_rtc.VideoFrame.avsync_type |
Reserved for future use.