648540858
2024-06-13 4ad711f61a1a760a0f8f7f8475b75ec93e31d8ae
src/main/java/com/genersoft/iot/vmp/media/zlm/dto/MediaServerItem.java
@@ -80,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() {
    }
@@ -106,6 +111,7 @@
        rtpEnable = false; // 默认使用单端口;直到用户自己设置开启多端口
        rtpPortRange = zlmServerConfig.getPortRange().replace("_",","); // 默认使用30000,30500作为级联时发送流的端口号
        recordAssistPort = 0; // 默认关闭
        transcodeSuffix = zlmServerConfig.getTranscodeSuffix();
    }
@@ -269,14 +275,6 @@
        this.updateTime = updateTime;
    }
    public int getCurrentPort() {
        return currentPort;
    }
    public void setCurrentPort(int currentPort) {
        this.currentPort = currentPort;
    }
    public boolean isStatus() {
        return status;
    }
@@ -308,4 +306,28 @@
    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;
    }
}