ossrs/srs

Can SRS be used as a HLS slice server for static video files?

Closed this issue · 0 comments

!!! Before submitting a new feature request, please ensure you have searched for any existing features and utilized
the Ask AI feature at https://ossrs.io or https://ossrs.net (for users in China). Duplicate issues or
questions that are overly simple or already addressed in the documentation will be removed without any
response.

What is the business background? Please provide a description.
Static HLS video files server only, we rarely use live broadcasting, most of the time we play static video files.

Describe the solution you'd like
In addition to live streaming, SRS can also automatically slice static HLS files, all in one.

Describe alternatives you've considered
https://github.com/kaltura/nginx-vod-module

Additional context
I followed the example of https://ossrs.net/lts/zh-cn/docs/v6/doc/sample-http and can directly access the files in http_server{dir}, but defaultVhost{hls_path} will not automatically generate HLS.