Spring boot + HTML 5 video streaming
问题 I've been learning the Spring boot framework recently and so far I'm fairly impressed by it. However, I've been trying to write a basic media server application and I'm not entirely sure what the correct way is to implement a controller endpoint which serves an HTML 5 video source. I've currently implemented this like so: @GetMapping(value = "/videosrc", produces = "video/mp4") @ResponseBody public FileSystemResource videoSource(@RequestParam(value="id", required=true) int id) { return new