CodecCapLevels

Codec capability levels.

@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<String, dynamic> json) =>
      _$CodecCapLevelsFromJson(json);

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

Properties

hwDecodingLevel
Hardware decoding capability level, indicating the device's ability to decode videos of different qualities using hardware. See VideoCodecCapabilityLevel.
swDecodingLevel
Software decoding capability level, indicating the device's ability to decode videos of different qualities using software. See VideoCodecCapabilityLevel.