1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

update conf, add todo for edge/forward

This commit is contained in:
winlin 2014-04-29 09:10:17 +08:00
parent 39f43bc7ae
commit 0622004eff

View file

@ -107,6 +107,7 @@ vhost same.edge.srs.com {
# vhost for edge, chnage vhost. # vhost for edge, chnage vhost.
vhost change.edge.srs.com { vhost change.edge.srs.com {
mode remote; mode remote;
# TODO: FIXME: support extra params.
origin 127.0.0.1:1935 localhost:1935 { origin 127.0.0.1:1935 localhost:1935 {
# specify the vhost to override the vhost in client request. # specify the vhost to override the vhost in client request.
vhost edge2.srs.com; vhost edge2.srs.com;
@ -791,7 +792,7 @@ vhost same.vhost.forward.srs.com {
# if vhost not specified, use the request vhost instead. # if vhost not specified, use the request vhost instead.
forward 127.0.0.1:1936 127.0.0.1:1937; forward 127.0.0.1:1936 127.0.0.1:1937;
} }
# TODO: FIXME: change the forward schema with vhost. # TODO: FIXME: support extra params.
# [plan] the vhost which forward publish streams to other vhosts. # [plan] the vhost which forward publish streams to other vhosts.
vhost change.vhost.forward.srs.com { vhost change.vhost.forward.srs.com {
forward 127.0.0.1:1936 127.0.0.1:1937 { forward 127.0.0.1:1936 127.0.0.1:1937 {