CodecCapLevels
The level of the codec capability.
@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);
}Attributes
- hwDecodingLevel
- Hardware decoding capability level, which represents the device's ability to perform hardware decoding on videos of different quality. See VideoCodecCapabilityLevel.
- swDecodingLevel
- Software decoding capability level, which represents the device's ability to perform software decoding on videos of different quality. See VideoCodecCapabilityLevel.