修复回放、停止预览bug,增加ZLM hook监听,长时间无人观看,停止摄像头推流。需开启ZLM的hook并配置url
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user