mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
update readme
This commit is contained in:
parent
3d073f9ef6
commit
c11e266d5c
4 changed files with 24 additions and 1 deletions
|
@ -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
19
trunk/conf/ingest.conf
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue