From 0ce07bbcfe14a75811983407fa79f35bdf3a9210 Mon Sep 17 00:00:00 2001 From: shikong <919411476@qq.com> Date: Thu, 21 Sep 2023 15:35:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E8=BD=BD=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cn/skcks/docking/gb28181/wvp/api/video/dto/VideoReq.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gb28181-wvp-proxy-api/src/main/java/cn/skcks/docking/gb28181/wvp/api/video/dto/VideoReq.java b/gb28181-wvp-proxy-api/src/main/java/cn/skcks/docking/gb28181/wvp/api/video/dto/VideoReq.java index 19dbf6d..89a55c5 100644 --- a/gb28181-wvp-proxy-api/src/main/java/cn/skcks/docking/gb28181/wvp/api/video/dto/VideoReq.java +++ b/gb28181-wvp-proxy-api/src/main/java/cn/skcks/docking/gb28181/wvp/api/video/dto/VideoReq.java @@ -30,8 +30,8 @@ public class VideoReq { @JsonFormat(pattern = DatePattern.PURE_DATETIME_PATTERN) private Date endTime; - @Schema(description = "http 头是否需要文件名") - private Boolean fileHeader = false; + @Schema(description = "http 头是否需要文件名 (没有文件名时浏览器会试图直接播放,会导致短时间内重复访问同一设备,导致失败)") + private Boolean fileHeader = true; public void setDevice_id(String deviceCode){ this.deviceCode = deviceCode;