胡斌

add config sample: hls_total.conf

  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 +
  5 +listen 1935;
  6 +max_connections 1000;
  7 +vhost __defaultVhost__ {
  8 + hls {
  9 + enabled on;
  10 + hls_fragment 10;
  11 + hls_window 60;
  12 + hls_path ./objs/nginx/html;
  13 + hls_m3u8_file [app]/[stream]/index.m3u8;
  14 + hls_ts_file [app]/[stream]/[seq].ts;
  15 +#if not configured,don't save total m3u8 file,and keep the ts cleaned
  16 + hls_total_m3u8_file [app]/[stream]/total.m3u8;
  17 +#if not configured,don't save total duration file
  18 + hls_total_file [app]/[stream]/total;
  19 + }
  20 +}