1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 20:01:56 +00:00
srs/trunk/conf/transform.edge.conf

32 lines
820 B
Text
Raw Normal View History

# the config for srs origin-edge cluster
2015-11-11 02:37:50 +00:00
# @see https://github.com/ossrs/srs/wiki/v2_CN_Edge#transform-vhost
# @see full.conf for detail config.
listen 1935;
max_connections 1000;
2017-02-09 06:17:36 +00:00
daemon off;
srs_log_tank console;
vhost __defaultVhost__ {
}
vhost source.srs.com {
ingest livestream {
enabled on;
input {
type file;
url ./doc/source.200kbps.768x320.flv;
}
ffmpeg ./objs/ffmpeg/bin/ffmpeg;
engine {
enabled off;
output rtmp://127.0.0.1:[port]/live?vhost=[vhost]/livestream;
}
}
}
vhost transform.srs.edge.com {
2015-09-11 00:21:06 +00:00
cluster {
mode remote;
origin 127.0.0.1:1935;
vhost source.srs.com;
}
2015-11-11 02:37:50 +00:00
}