CodecCapLevels

  • Flutter

更新时间不可用

编解码能力等级。

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

属性

参数名描述
hwDecodingLevel

硬件解码能力等级,表示设备能够对不同品质视频进行硬件解码的能力。详见 VideoCodecCapabilityLevel。

swDecodingLevel

软件解码能力等级,表示设备能够对不同品质视频进行软件解码的能力。详见 VideoCodecCapabilityLevel。

表格内容超出当前宽度,可横向滚动查看更多列。

这个页面有帮助吗?