648540858
2024-05-29 764d04b497356ba6bcbb75fd42b51eca750f7223
src/main/java/com/genersoft/iot/vmp/vmanager/bean/StreamContent.java
old mode 100644 new mode 100755
@@ -1,6 +1,8 @@
package com.genersoft.iot.vmp.vmanager.bean;
import com.genersoft.iot.vmp.common.StreamInfo;
import com.genersoft.iot.vmp.media.bean.MediaInfo;
import com.genersoft.iot.vmp.service.bean.DownloadFileInfo;
import io.swagger.v3.oas.annotations.media.Schema;
@Schema(description = "流信息")
@@ -85,13 +87,16 @@
    private String mediaServerId;
    @Schema(description = "流编码信息")
    private Object tracks;
    private MediaInfo mediaInfo;
    @Schema(description = "开始时间")
    private String startTime;
    @Schema(description = "结束时间")
    private String endTime;
    @Schema(description = "文件下载地址(录像下载使用)")
    private DownloadFileInfo downLoadFilePath;
    private double progress;
@@ -166,10 +171,14 @@
        }
        this.mediaServerId = streamInfo.getMediaServerId();
        this.tracks = streamInfo.getTracks();
        this.mediaInfo = streamInfo.getMediaInfo();
        this.startTime = streamInfo.getStartTime();
        this.endTime = streamInfo.getEndTime();
        this.progress = streamInfo.getProgress();
        if (streamInfo.getDownLoadFilePath() != null) {
            this.downLoadFilePath = streamInfo.getDownLoadFilePath();
        }
    }
    public String getApp() {
@@ -380,12 +389,12 @@
        this.mediaServerId = mediaServerId;
    }
    public Object getTracks() {
        return tracks;
    public MediaInfo getMediaInfo() {
        return mediaInfo;
    }
    public void setTracks(Object tracks) {
        this.tracks = tracks;
    public void setMediaInfo(MediaInfo mediaInfo) {
        this.mediaInfo = mediaInfo;
    }
    public String getStartTime() {
@@ -411,4 +420,12 @@
    public void setProgress(double progress) {
        this.progress = progress;
    }
    public DownloadFileInfo getDownLoadFilePath() {
        return downLoadFilePath;
    }
    public void setDownLoadFilePath(DownloadFileInfo downLoadFilePath) {
        this.downLoadFilePath = downLoadFilePath;
    }
}