# VideoDimensions (/zh-CN/api-reference/rtc/cpp-all-platforms/class-videodimensions) > For AI agents: see the complete documentation index at [llms.txt](/llms.txt). ```cpp struct VideoDimensions { int width; int height; bool operator==(const VideoDimensions& rhs) const { return width == rhs.width && height == rhs.height; } }; ``` ## 属性 [#属性] 视频宽度,单位为像素。 视频高度,单位为像素。