胡斌

ver: 2.0+ r3539 8d411235 2017-07-17 16:05:09

add conf directive forward_append_stream_name,to support add ?vhost=xxxx to stream name when forward to cdn
# the config for srs to forward
# the cwrd_stream_name_appendnfig for srs to forward
# @see https://github.com/ossrs/srs/wiki/v1_CN_SampleForward
# @see full.conf for detail config.
... ... @@ -16,4 +16,6 @@ vhost __defaultVhost__ {
#if the forward server is same as this server , a origin,try use forward_peer,
#the stream pushed from other forward peer will not forward any more in this server
forward_peer 127.0.0.1:1936;
#append the string after start with ? to the stream name when forward to the server
forward_append_stream_name 127.0.0.1:19350?vhost=newrtmp.xuedianyun.com
}
... ...
This file is too large to display.