适配zlm的hook保活

This commit is contained in:
648540858
2021-12-07 21:13:55 +08:00
parent a2f0854138
commit 9b1af8ef13
27 changed files with 223 additions and 87 deletions

View File

@@ -203,6 +203,7 @@ public class MediaConfig{
mediaServerItem.setRtpPortRange(rtpPortRange);
mediaServerItem.setSendRtpPortRange(sendRtpPortRange);
mediaServerItem.setRecordAssistPort(recordAssistPort);
mediaServerItem.setHookAliveInterval(120);
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
mediaServerItem.setCreateTime(format.format(System.currentTimeMillis()));

View File

@@ -27,7 +27,7 @@ public class SipConfig {
Integer keepaliveTimeOut = 255;
Integer registerTimeInterval = 60;
Integer registerTimeInterval = 120;
private boolean alarm = false;