CodecCapLevels
- Flutter
更新时间不可用
编解码能力等级。
@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。 |