支持录像回放使用固定流地址以及自动点播录像回放
This commit is contained in:
@@ -53,6 +53,10 @@ public class DateUtil {
|
||||
return formatter.format(formatterCompatibleISO8601.parse(formatTime));
|
||||
}
|
||||
|
||||
public static String urlToyyyy_MM_dd_HH_mm_ss(String formatTime) {
|
||||
return formatter.format(urlFormatter.parse(formatTime));
|
||||
}
|
||||
|
||||
/**
|
||||
* yyyy_MM_dd_HH_mm_ss 转时间戳
|
||||
* @param formatTime
|
||||
@@ -82,6 +86,7 @@ public class DateUtil {
|
||||
return urlFormatter.format(nowDateTime);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 格式校验
|
||||
* @param timeStr 时间字符串
|
||||
|
||||
Reference in New Issue
Block a user