1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 11:51:57 +00:00
srs/trunk/conf/ingest.conf

20 lines
561 B
Text
Raw Normal View History

2014-04-07 07:04:31 +00:00
# use ffmpeg to ingest file/stream/device to SRS
# @see https://github.com/winlinvip/simple-rtmp-server/wiki/SampleIngest
# @see full.conf for detail config.
listen 1935;
vhost __defaultVhost__ {
2014-04-08 07:47:52 +00:00
ingest livestream {
2014-04-07 07:04:31 +00:00
enable on;
input {
type file;
url ./doc/source.200kbps.768x320.flv;
}
ffmpeg ./objs/ffmpeg/bin/ffmpeg;
engine {
enable off;
output rtmp://127.0.0.1:[port]/live?vhost=[vhost]/livestream;
}
}
}