From e21abeea37342974790c02e85ddb94198456df61 Mon Sep 17 00:00:00 2001 From: 64850858 <648540858@qq.com> Date: 星期二, 22 六月 2021 16:22:06 +0800 Subject: [PATCH] 使用fmp4进行截图,以避免ffmpeg不兼容h265的flv导致的截图失败 --- src/main/java/com/genersoft/iot/vmp/conf/SipConfig.java | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/conf/SipConfig.java b/src/main/java/com/genersoft/iot/vmp/conf/SipConfig.java index 32352c7..404620a 100644 --- a/src/main/java/com/genersoft/iot/vmp/conf/SipConfig.java +++ b/src/main/java/com/genersoft/iot/vmp/conf/SipConfig.java @@ -31,6 +31,12 @@ @Value("${sip.ptz.speed:50}") Integer speed; + @Value("${sip.keepaliveTimeOut:180}") + Integer keepaliveTimeOut; + + @Value("${sip.registerTimeInterval:60}") + Integer registerTimeInterval; + public String getMonitorIp() { return monitorIp; } @@ -63,4 +69,11 @@ return speed; } + public Integer getKeepaliveTimeOut() { + return keepaliveTimeOut; + } + + public Integer getRegisterTimeInterval() { + return registerTimeInterval; + } } -- Gitblit v1.8.0