2
0

hls.conf 501 B

123456789101112131415161718
  1. # the config for srs to delivery hls
  2. # @see https://github.com/ossrs/srs/wiki/v1_CN_SampleHLS
  3. # @see full.conf for detail config.
  4. listen 1935;
  5. max_connections 1000;
  6. daemon off;
  7. srs_log_tank console;
  8. vhost __defaultVhost__ {
  9. hls {
  10. enabled on;
  11. hls_fragment 10;
  12. hls_window 60;
  13. hls_path ./objs/nginx/html;
  14. hls_m3u8_file [app]/[stream].m3u8;
  15. hls_ts_file [app]/[stream]-[seq].ts;
  16. }
  17. }