| | |
| | | @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() { |
| | | } |
| | |
| | | rtpEnable = false; // 默认使用单端口;直到用户自己设置开启多端口 |
| | | rtpPortRange = zlmServerConfig.getPortRange().replace("_",","); // 默认使用30000,30500作为级联时发送流的端口号 |
| | | recordAssistPort = 0; // 默认关闭 |
| | | transcodeSuffix = zlmServerConfig.getTranscodeSuffix(); |
| | | |
| | | } |
| | | |
| | |
| | | this.updateTime = updateTime; |
| | | } |
| | | |
| | | public int getCurrentPort() { |
| | | return currentPort; |
| | | } |
| | | |
| | | public void setCurrentPort(int currentPort) { |
| | | this.currentPort = currentPort; |
| | | } |
| | | |
| | | public boolean isStatus() { |
| | | return status; |
| | | } |
| | |
| | | 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; |
| | | } |
| | | } |