From 5370493140d1553c7fc2686adcf58cee289de4d3 Mon Sep 17 00:00:00 2001 From: winlin Date: Wed, 11 Mar 2015 13:24:14 +0800 Subject: [PATCH] add ingest to mac.dev conf. --- trunk/conf/mac.dev.conf | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/trunk/conf/mac.dev.conf b/trunk/conf/mac.dev.conf index 87ae78791..e624e165b 100644 --- a/trunk/conf/mac.dev.conf +++ b/trunk/conf/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; + } + } }