Blame view

trunk/conf/ingest.conf 595 字节
winlin authored
1
# use ffmpeg to ingest file/stream/device to SRS
2
# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SampleIngest
winlin authored
3 4 5
# @see full.conf for detail config.

listen              1935;
6
max_connections     1000;
winlin authored
7
vhost __defaultVhost__ {
8
    ingest livestream {
winlin authored
9
        enabled      on;
winlin authored
10 11 12 13 14 15
        input {
            type    file;
            url     ./doc/source.200kbps.768x320.flv;
        }
        ffmpeg      ./objs/ffmpeg/bin/ffmpeg;
        engine {
winlin authored
16
            enabled          off;
winlin authored
17 18 19 20
            output          rtmp://127.0.0.1:[port]/live?vhost=[vhost]/livestream;
        }
    }
}