io.agora.rtc.VideoFormat类 参考
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 | ) |
类成员变量说明
private
fps
|
private
height
|
private
width
|