# CodecCapLevels (/zh-CN/api-reference/rtc/cpp-all-platforms/class-codeccaplevels) > For AI agents: see the complete documentation index at [llms.txt](/llms.txt). ```cpp struct CodecCapLevels { VIDEO_CODEC_CAPABILITY_LEVEL hwDecodingLevel; VIDEO_CODEC_CAPABILITY_LEVEL swDecodingLevel; }; ``` ## 属性 [#属性] 硬件解码能力等级,表示设备对不同质量视频的硬件解码能力。详见 [VIDEO_CODEC_CAPABILITY_LEVEL](/zh-CN/api-reference/rtc/cpp-all-platforms/enum-videocodeccapabilitylevel)。 软件解码能力等级,表示设备对不同质量视频的软件解码能力。详见 [VIDEO_CODEC_CAPABILITY_LEVEL](/zh-CN/api-reference/rtc/cpp-all-platforms/enum-videocodeccapabilitylevel)。