fix: 视频画质加载异常

This commit is contained in:
guozhigq
2023-08-11 11:45:33 +08:00
parent bc2e363d6a
commit 4458e13787
3 changed files with 72 additions and 58 deletions

View File

@ -29,7 +29,7 @@ class PlayUrlModel {
int? timeLength;
String? acceptFormat;
List<dynamic>? acceptDesc;
List<dynamic>? acceptQuality;
List<int>? acceptQuality;
int? videoCodecid;
String? seekParam;
String? seekType;
@ -48,7 +48,7 @@ class PlayUrlModel {
timeLength = json['timelength'];
acceptFormat = json['accept_format'];
acceptDesc = json['accept_description'];
acceptQuality = json['accept_quality'];
acceptQuality = json['accept_quality'].map<int>((e) => e as int).toList();
videoCodecid = json['video_codecid'];
seekParam = json['seek_param'];
seekType = json['seek_type'];