mirror of https://github.com/ossrs/srs.git
merge from 2.0.155
commit
cb148e43ee
@ -0,0 +1,27 @@
|
||||
# the config for srs origin-edge cluster
|
||||
# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_Edge#transform-vhost
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
max_connections 1000;
|
||||
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 {
|
||||
mode remote;
|
||||
origin 127.0.0.1:1935;
|
||||
vhost source.srs.com;
|
||||
}
|
Loading…
Reference in New Issue