winlin

add ingest to mac.dev conf.

... ... @@ -20,4 +20,17 @@ vhost __defaultVhost__ {
hls_window 60;
hls_path ./objs/nginx/html;
}
ingest livestream {
enabled on;
input {
type file;
url ./doc/source.200kbps.768x320.flv;
}
#ffmpeg ./objs/ffmpeg/bin/ffmpeg;
ffmpeg ./objs/research/librtmp/srs_ingest_flv;
engine {
enabled off;
output rtmp://127.0.0.1:[port]/live?vhost=[vhost]/livestream;
}
}
}
... ...