winlin

add ingest to mac.dev conf.

@@ -20,4 +20,17 @@ vhost __defaultVhost__ { @@ -20,4 +20,17 @@ vhost __defaultVhost__ {
20 hls_window 60; 20 hls_window 60;
21 hls_path ./objs/nginx/html; 21 hls_path ./objs/nginx/html;
22 } 22 }
  23 + ingest livestream {
  24 + enabled on;
  25 + input {
  26 + type file;
  27 + url ./doc/source.200kbps.768x320.flv;
  28 + }
  29 + #ffmpeg ./objs/ffmpeg/bin/ffmpeg;
  30 + ffmpeg ./objs/research/librtmp/srs_ingest_flv;
  31 + engine {
  32 + enabled off;
  33 + output rtmp://127.0.0.1:[port]/live?vhost=[vhost]/livestream;
  34 + }
  35 + }
23 } 36 }