|
@@ -9,16 +9,18 @@ public class VideoFileRet {
|
|
|
private boolean merged;
|
|
private boolean merged;
|
|
|
private String videoUrl;
|
|
private String videoUrl;
|
|
|
private String coverUrl;
|
|
private String coverUrl;
|
|
|
|
|
+ private Integer duration;
|
|
|
|
|
|
|
|
public VideoFileRet(String uploadId) {
|
|
public VideoFileRet(String uploadId) {
|
|
|
this.uploadId = uploadId;
|
|
this.uploadId = uploadId;
|
|
|
this.merged = false;
|
|
this.merged = false;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- public VideoFileRet(String uploadId, String videoUrl, String coverUrl) {
|
|
|
|
|
|
|
+ public VideoFileRet(String uploadId, String videoUrl, String coverUrl, Integer duration) {
|
|
|
this.uploadId = uploadId;
|
|
this.uploadId = uploadId;
|
|
|
this.merged = true;
|
|
this.merged = true;
|
|
|
this.videoUrl = videoUrl;
|
|
this.videoUrl = videoUrl;
|
|
|
this.coverUrl = coverUrl;
|
|
this.coverUrl = coverUrl;
|
|
|
|
|
+ this.duration = duration;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|