# CodecCapLevels (/zh-CN/api-reference/rtc/csharp-windows/class-codeccaplevels)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

<a id="class_codeccaplevels__prototype"></a>

```csharp
public class CodecCapLevels
    {
        public VIDEO_CODEC_CAPABILITY_LEVEL hwDecodingLevel;
        public VIDEO_CODEC_CAPABILITY_LEVEL swDecodingLevel;

        public CodecCapLevels()
        {
            hwDecodingLevel = VIDEO_CODEC_CAPABILITY_LEVEL.CODEC_CAPABILITY_LEVEL_UNSPECIFIED;
            swDecodingLevel = VIDEO_CODEC_CAPABILITY_LEVEL.CODEC_CAPABILITY_LEVEL_UNSPECIFIED;
        }
    };
```

<a id="class_codeccaplevels__detailed_desc"></a>

<a id="class_codeccaplevels__parameters"></a>

## 属性 [#属性]

<ParameterList>
<a id="hwdecodinglevel"></a>
<Parameter name="hwDecodingLevel">

硬件解码能力等级，表示设备能够对不同品质视频进行硬件解码的能力。详见 [VIDEO_CODEC_CAPABILITY_LEVEL](/zh-CN/api-reference/rtc/csharp-windows/enum-videocodeccapabilitylevel)。

</Parameter>
<a id="swdecodinglevel"></a>
<Parameter name="swDecodingLevel">

软件解码能力等级，表示设备能够对不同品质视频进行软件解码的能力。详见 [VIDEO_CODEC_CAPABILITY_LEVEL](/zh-CN/api-reference/rtc/csharp-windows/enum-videocodeccapabilitylevel)。

</Parameter>
</ParameterList>
