From 20a3cb9e73d16bd08d99780b91ca0e8d8722a0f9 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期五, 10 十二月 2021 11:28:25 +0800 Subject: [PATCH] 启用失败的流转发如果开启无人观看自动移除则不保存在数据库 --- src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMServerConfig.java | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMServerConfig.java b/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMServerConfig.java index 841c14c..7e3da46 100644 --- a/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMServerConfig.java +++ b/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMServerConfig.java @@ -65,6 +65,9 @@ @JSONField(name = "hook.admin_params") private String hookAdminParams; + @JSONField(name = "hook.alive_interval") + private int hookAliveInterval; + @JSONField(name = "hook.enable") private String hookEnable; @@ -791,4 +794,12 @@ public void setShellPhell(String shellPhell) { this.shellPhell = shellPhell; } + + public int getHookAliveInterval() { + return hookAliveInterval; + } + + public void setHookAliveInterval(int hookAliveInterval) { + this.hookAliveInterval = hookAliveInterval; + } } -- Gitblit v1.8.0