record 文件头设置
This commit is contained in:
parent
af40be890e
commit
dc56cbd65e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user