How to Implement HTTP byte-range requests in Spring MVC

前端 未结 7 1776
余生分开走
余生分开走 2020-11-30 21:30

I have the problem with video rewind on my site.

I figure out that problem with http headers.

My current controller method which returns video:



        
7条回答
  •  我在风中等你
    2020-11-30 22:02

    If you want to avoid MimeTypeUtils, you can use Files.probeContentType(Path path). That will use the default implementation of the system.

提交回复
热议问题