hls.conf 513 B

123456789101112131415161718192021
  1. # the config for srs to delivery hls
  2. # @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-hls
  3. # @see full.conf for detail config.
  4. listen 1935;
  5. max_connections 1000;
  6. daemon off;
  7. srs_log_tank console;
  8. http_server {
  9. enabled on;
  10. listen 8080;
  11. dir ./objs/nginx/html;
  12. }
  13. vhost __defaultVhost__ {
  14. hls {
  15. enabled on;
  16. hls_path ./objs/nginx/html;
  17. hls_fragment 10;
  18. hls_window 60;
  19. }
  20. }