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;