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

update readme

This commit is contained in:
winlin 2014-04-07 15:04:31 +08:00
parent 3d073f9ef6
commit c11e266d5c
4 changed files with 24 additions and 1 deletions

View file

@ -116,6 +116,7 @@ vhost ingest.srs.com {
# @remark, the output is specified following.
engine {
# @see enabled of transcode engine.
# if disabled or vcodec/acodec not specified, use copy.
# default: off.
enable off;
# output stream. variables:

19
trunk/conf/ingest.conf Normal file
View file

@ -0,0 +1,19 @@
# 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__ {
ingest {
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;
}
}
}