# CodecCapLevels (/zh-CN/api-reference/rtc/flutter/class-codeccaplevels)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
```dart
@JsonSerializable(explicitToJson: true, includeIfNull: false)
class CodecCapLevels {
const CodecCapLevels({this.hwDecodingLevel, this.swDecodingLevel});
@JsonKey(name: 'hwDecodingLevel')
final VideoCodecCapabilityLevel? hwDecodingLevel;
@JsonKey(name: 'swDecodingLevel')
final VideoCodecCapabilityLevel? swDecodingLevel;
factory CodecCapLevels.fromJson(Map json) =>
_$CodecCapLevelsFromJson(json);
Map toJson() => _$CodecCapLevelsToJson(this);
}
```
## 属性 [#属性]
硬件解码能力等级,表示设备能够对不同品质视频进行硬件解码的能力。详见 [VideoCodecCapabilityLevel](/zh-CN/api-reference/rtc/flutter/enum-videocodeccapabilitylevel)。
软件解码能力等级,表示设备能够对不同品质视频进行软件解码的能力。详见 [VideoCodecCapabilityLevel](/zh-CN/api-reference/rtc/flutter/enum-videocodeccapabilitylevel)。