录像补充 http 响应头

This commit is contained in:
shikong 2023-09-10 05:07:19 +08:00
parent b625dcff7d
commit 34a6ba040d

View File

@ -179,6 +179,7 @@ public class WvpService {
String stream = streamContent.getStream();
String streamUrl = streamContent.getFlv();
try {
recordService.header(response);
recordService.record(response, streamUrl, DateUtil.between(startDateTime, endDateTime, DateUnit.SECOND));
} finally {
wvpProxyClient.playbackStop(token, deviceId, channelId, stream);