648540858
2024-05-23 2daa59d78ce206308c35294da04cffe5e340143a
src/main/java/com/genersoft/iot/vmp/media/zlm/dto/MediaServerItem.java
@@ -80,14 +80,14 @@
    @Schema(description = "是否是默认ZLM")
    private boolean defaultServer;
    @Schema(description = "录像存储时长")
    private int recordDay;
    @Schema(description = "录像存储路径")
    private String recordPath;
    @Schema(description = "录像存储时长")
    private int recordDate;
    @Schema(description = "转码的前缀")
    private String transcodeSuffix;
    public MediaServerItem() {
    }
@@ -111,6 +111,7 @@
        rtpEnable = false; // 默认使用单端口;直到用户自己设置开启多端口
        rtpPortRange = zlmServerConfig.getPortRange().replace("_",","); // 默认使用30000,30500作为级联时发送流的端口号
        recordAssistPort = 0; // 默认关闭
        transcodeSuffix = zlmServerConfig.getTranscodeSuffix();
    }
@@ -306,6 +307,14 @@
        this.sendRtpPortRange = sendRtpPortRange;
    }
    public int getRecordDay() {
        return recordDay;
    }
    public void setRecordDay(int recordDay) {
        this.recordDay = recordDay;
    }
    public String getRecordPath() {
        return recordPath;
    }
@@ -314,11 +323,11 @@
        this.recordPath = recordPath;
    }
    public int getRecordDate() {
        return recordDate;
    public String getTranscodeSuffix() {
        return transcodeSuffix;
    }
    public void setRecordDate(int recordDate) {
        this.recordDate = recordDate;
    public void setTranscodeSuffix(String transcodeSuffix) {
        this.transcodeSuffix = transcodeSuffix;
    }
}