CodecCapInfo

The codec capability of the SDK.

@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);
}

Attributes

codecType
The video codec types. See VideoCodecType.
codecCapMask
Bit mask of the codec types in SDK. See CodecCapMask.
codecLevels
Codec capability of the SDK. See CodecCapLevels.