修复回放、停止预览bug,增加ZLM hook监听,长时间无人观看,停止摄像头推流。需开启ZLM的hook并配置url

This commit is contained in:
songww
2020-05-14 14:19:42 +08:00
parent 1b6f0137b9
commit 805fa42a2c
7 changed files with 257 additions and 106 deletions

View File

@@ -46,7 +46,7 @@ public class DateUtil {
Date date;
try {
date = format.parse(formatTime);
Long timestamp=date.getTime();
Long timestamp=date.getTime()/1000;
//转换为Date类
return timestamp;
} catch (ParseException e) {