old mode 100644
new mode 100755
| | |
| | | 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 = "流信息") |
| | |
| | | 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; |
| | | |
| | |
| | | } |
| | | |
| | | 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() { |
| | |
| | | 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() { |
| | |
| | | public void setProgress(double progress) { |
| | | this.progress = progress; |
| | | } |
| | | |
| | | public DownloadFileInfo getDownLoadFilePath() { |
| | | return downLoadFilePath; |
| | | } |
| | | |
| | | public void setDownLoadFilePath(DownloadFileInfo downLoadFilePath) { |
| | | this.downLoadFilePath = downLoadFilePath; |
| | | } |
| | | } |