1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-12 19:31:53 +00:00
srs/trunk/conf/ingest.conf

21 lines
576 B
Text
Raw Normal View History

2014-04-07 07:04:31 +00:00
# use ffmpeg to ingest file/stream/device to SRS
2015-11-11 02:37:50 +00:00
# @see https://github.com/ossrs/srs/wiki/v1_CN_SampleIngest
2014-04-07 07:04:31 +00:00
# @see full.conf for detail config.
listen 1935;
max_connections 1000;
2014-04-07 07:04:31 +00:00
vhost __defaultVhost__ {
2014-04-08 07:47:52 +00:00
ingest livestream {
2014-04-17 08:06:49 +00:00
enabled on;
2014-04-07 07:04:31 +00:00
input {
type file;
url ./doc/source.200kbps.768x320.flv;
}
ffmpeg ./objs/ffmpeg/bin/ffmpeg;
engine {
2014-04-17 08:06:49 +00:00
enabled off;
2014-04-07 07:04:31 +00:00
output rtmp://127.0.0.1:[port]/live?vhost=[vhost]/livestream;
}
}
}