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.fpsheight
private
int io.agora.rtc.VideoFormat.heightwidth
private
int io.agora.rtc.VideoFormat.width该类的文档由以下文件生成:
- VideoFormat.java