CodecCapInfo

The codec capability of the device.

@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
The bit mask of the codec type. See CodecCapMask.
codecLevels
The level of the codec capability. See CodecCapLevels.