You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
srs/trunk/conf/ingest.conf

20 lines
561 B
Plaintext

11 years ago
# 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 livestream {
11 years ago
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;
}
}
}