Public 属性 | |
VIDEO_FRAME_TYPE | type |
int | width |
int | height |
int | yStride |
byte[] | buffer |
int | rotation |
long | renderTimeMs |
int | avsync_type |
VideoFrame 定义。
VIDEO_FRAME_TYPE agora_gaming_rtc.VideoFrame.type |
视频帧类型。仅支持 FRAME_TYPE_RGBA
。
int agora_gaming_rtc.VideoFrame.width |
视频像素宽度。
int agora_gaming_rtc.VideoFrame.height |
视频像素高度。
int agora_gaming_rtc.VideoFrame.yStride |
YUV 数据中的 Y 缓冲区的行跨度。
byte [] agora_gaming_rtc.VideoFrame.buffer |
RGBA 数据缓冲区。
int agora_gaming_rtc.VideoFrame.rotation |
在渲染视频前设置该帧的顺时针旋转角度,目前支持 0 度、90 度、180 度,和 270 度。
long agora_gaming_rtc.VideoFrame.renderTimeMs |
外部音频帧的时间戳。
int agora_gaming_rtc.VideoFrame.avsync_type |
预留参数。