648540858
2024-05-23 2daa59d78ce206308c35294da04cffe5e340143a
src/main/java/com/genersoft/iot/vmp/media/zlm/dto/MediaServerItem.java
old mode 100644 new mode 100755
@@ -62,6 +62,9 @@
    @Schema(description = "多端口RTP收流端口范围")
    private String rtpPortRange;
    @Schema(description = "RTP发流端口范围")
    private String sendRtpPortRange;
    @Schema(description = "assist服务端口")
    private int recordAssistPort;
@@ -77,9 +80,14 @@
    @Schema(description = "是否是默认ZLM")
    private boolean defaultServer;
    @Schema(description = "当前使用到的端口")
    private int currentPort;
    @Schema(description = "录像存储时长")
    private int recordDay;
    @Schema(description = "录像存储路径")
    private String recordPath;
    @Schema(description = "转码的前缀")
    private String transcodeSuffix;
    public MediaServerItem() {
    }
@@ -103,6 +111,7 @@
        rtpEnable = false; // 默认使用单端口;直到用户自己设置开启多端口
        rtpPortRange = zlmServerConfig.getPortRange().replace("_",","); // 默认使用30000,30500作为级联时发送流的端口号
        recordAssistPort = 0; // 默认关闭
        transcodeSuffix = zlmServerConfig.getTranscodeSuffix();
    }
@@ -266,14 +275,6 @@
        this.updateTime = updateTime;
    }
    public int getCurrentPort() {
        return currentPort;
    }
    public void setCurrentPort(int currentPort) {
        this.currentPort = currentPort;
    }
    public boolean isStatus() {
        return status;
    }
@@ -297,4 +298,36 @@
    public void setHookAliveInterval(Float hookAliveInterval) {
        this.hookAliveInterval = hookAliveInterval;
    }
    public String getSendRtpPortRange() {
        return sendRtpPortRange;
    }
    public void setSendRtpPortRange(String sendRtpPortRange) {
        this.sendRtpPortRange = sendRtpPortRange;
    }
    public int getRecordDay() {
        return recordDay;
    }
    public void setRecordDay(int recordDay) {
        this.recordDay = recordDay;
    }
    public String getRecordPath() {
        return recordPath;
    }
    public void setRecordPath(String recordPath) {
        this.recordPath = recordPath;
    }
    public String getTranscodeSuffix() {
        return transcodeSuffix;
    }
    public void setTranscodeSuffix(String transcodeSuffix) {
        this.transcodeSuffix = transcodeSuffix;
    }
}