1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

add ingest to mac.dev conf.

This commit is contained in:
winlin 2015-03-11 13:24:14 +08:00
parent 74d6f27519
commit 5370493140

View file

@ -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;
}
}
}