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

add author byteman for h264 to flv.

This commit is contained in:
winlin 2014-04-25 15:27:50 +08:00
parent f3b441ba1f
commit d6948d613f
5 changed files with 48 additions and 2 deletions

View file

@ -91,6 +91,30 @@ http_stream {
vhost __defaultVhost__ {
}
# vhost for edge, edge and origin is the same vhost
vhost same.edge.srs.com {
# the mode of vhost, local or remote.
# local: vhost is origin vhost, which provides stream source.
# remote: vhost is edge vhost, which pull/push to origin.
# default: local
mode remote;
# for edge(remote mode), user must specifies the origin server
# format as: <server_name|ip>[:port]
# @remark user can specifies multiple origin for error backup, by space,
# for example, 192.168.1.100:1935 192.168.1.101:1935 192.168.1.102:1935
origin 127.0.0.1:1935 localhost:1935;
}
# vhost for edge, chnage vhost.
vhost change.edge.srs.com {
mode remote;
origin 127.0.0.1:1935 localhost:1935 {
# specify the vhost to override the vhost in client request.
vhost edge2.srs.com;
# specify the refer(pageUrl) to override the refer in client request.
refer http://srs/index.html;
}
}
# vhost for dvr
vhost dvr.srs.com {
# dvr RTMP stream to file,