io.agora.rtc.VideoFormat类 参考

  • Java

更新时间

VideoFormat 类。

构造及析构函数说明

VideoFormat() [1/2]

io.agora.rtc.VideoFormat.VideoFormat()

VideoFormat() [2/2]

io.agora.rtc.VideoFormat.VideoFormat(int width, int height, int fps)

构造函数。

参数
参数名描述
width

视频宽度 (px)。

height

视频高度 (px)。

fps

视频帧率 (fps)。

表格内容超出当前宽度,可横向滚动查看更多列。

成员函数说明

getFps()

int io.agora.rtc.VideoFormat.getFps()

getHeight()

int io.agora.rtc.VideoFormat.getHeight()

getWidth()

int io.agora.rtc.VideoFormat.getWidth()

setFps()

void io.agora.rtc.VideoFormat.setFps(int fps)

setHeight()

void io.agora.rtc.VideoFormat.setHeight(int height)

setWidth()

void io.agora.rtc.VideoFormat.setWidth(int width)

类成员变量说明

fps

private
int io.agora.rtc.VideoFormat.fps

height

private
int io.agora.rtc.VideoFormat.height

width

private
int io.agora.rtc.VideoFormat.width

该类的文档由以下文件生成:

  • VideoFormat.java

这个页面有帮助吗?