winlin

add htt.hls sample

  1 +# the config for srs to delivery hls
  2 +# @see https://github.com/winlinvip/simple-rtmp-server/wiki/SampleHLS
  3 +# @see full.conf for detail config.
  4 +
  5 +listen 1935;
  6 +http_stream {
  7 + enabled on;
  8 + listen 8080;
  9 + dir ./objs/nginx/html;
  10 +}
  11 +vhost __defaultVhost__ {
  12 + hls {
  13 + enabled on;
  14 + hls_path ./objs/nginx/html;
  15 + hls_fragment 10;
  16 + hls_window 60;
  17 + }
  18 +}