record 文件头设置

This commit is contained in:
shikong 2023-09-07 11:43:24 +08:00
parent af40be890e
commit dc56cbd65e

View File

@ -29,6 +29,7 @@ public class RecordService {
response.setContentType("video/x-flv");
response.setHeader("Accept-Ranges", "none");
response.setHeader("Connection", "close");
response.setHeader("Content-Disposition","attachment; filename=\"record.flv\"");
}
@SneakyThrows