# CodecCapInfo (/zh-CN/api-reference/rtc/flutter/class-codeccapinfo)

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

<a id="class_codeccapinfo__prototype"></a>

```dart
@JsonSerializable(explicitToJson: true, includeIfNull: false)
class CodecCapInfo {
  const CodecCapInfo({this.codecType, this.codecCapMask, this.codecLevels});

  @JsonKey(name: 'codecType')
  final VideoCodecType? codecType;

  @JsonKey(name: 'codecCapMask')
  final int? codecCapMask;

  @JsonKey(name: 'codecLevels')
  final CodecCapLevels? codecLevels;

  factory CodecCapInfo.fromJson(Map<String, dynamic> json) =>
      _$CodecCapInfoFromJson(json);

  Map<String, dynamic> toJson() => _$CodecCapInfoToJson(this);
}
```

<a id="class_codeccapinfo__parameters"></a>

## 属性 [#属性]

<ParameterList>
<a id="codectype"></a>
<Parameter name="codecType">

视频编解码类型。详见 [VideoCodecType](/zh-CN/api-reference/rtc/flutter/enum-videocodectype)。

</Parameter>
<a id="codeccapmask"></a>
<Parameter name="codecCapMask">

SDK 编解码类型的 bit mask。详见 [CodecCapMask](/zh-CN/api-reference/rtc/flutter/enum-codeccapmask)。

</Parameter>
<a id="codeclevels"></a>
<Parameter name="codecLevels">

SDK 支持的编解码能力等级。详见 [CodecCapLevels](/zh-CN/api-reference/rtc/flutter/class-codeccaplevels)。

</Parameter>
</ParameterList>
