# io.agora.rtc.VideoFormat类 参考 (/zh-CN/api-reference/rtc-server-sdk/java/classio-1-1agora-1-1rtc-1-1-video-format) > For AI agents: see the complete documentation index at [llms.txt](/llms.txt). VideoFormat 类。 ## 构造及析构函数说明 [#构造及析构函数说明] ### VideoFormat() [1/2] [#videoformat-12] io.agora.rtc.VideoFormat.VideoFormat() ### VideoFormat() [2/2] [#videoformat-22] io.agora.rtc.VideoFormat.VideoFormat(int *width*, int *height*, int *fps*) 构造函数。 视频宽度 (px)。 视频高度 (px)。 视频帧率 (fps)。 ## 成员函数说明 [#成员函数说明] ### getFps() [#getfps] int io.agora.rtc.VideoFormat.getFps() ### getHeight() [#getheight] int io.agora.rtc.VideoFormat.getHeight() ### getWidth() [#getwidth] int io.agora.rtc.VideoFormat.getWidth() ### setFps() [#setfps] void io.agora.rtc.VideoFormat.setFps(int *fps*) ### setHeight() [#setheight] void io.agora.rtc.VideoFormat.setHeight(int *height*) ### setWidth() [#setwidth] void io.agora.rtc.VideoFormat.setWidth(int *width*) ## 类成员变量说明 [#类成员变量说明] ### fps [#fps] int io.agora.rtc.VideoFormat.fps ### height [#height] int io.agora.rtc.VideoFormat.height ### width [#width] int io.agora.rtc.VideoFormat.width --- 该类的文档由以下文件生成: - VideoFormat.java