ver:2.0+ r3532 a0bf6138 2017-05-23 07:49:25
add forward_peer,to support forward between origins.the streams pushed from peer origins will not be forward any more. remove forward_server_srs,which used to indicate the forward target server is or is not srs, add forward_server_other, to list the target rtmp server other than srs in.
正在显示
2 个修改的文件
包含
5 行增加
和
2 行删除
| @@ -11,6 +11,9 @@ vhost __defaultVhost__ { | @@ -11,6 +11,9 @@ vhost __defaultVhost__ { | ||
| 11 | forward 127.0.0.1:19350; | 11 | forward 127.0.0.1:19350; |
| 12 | #select on of the listed servers in turn to forward,not all of them | 12 | #select on of the listed servers in turn to forward,not all of them |
| 13 | forward_in_turn 127.0.0.1:19351 127.0.0.1:19352; | 13 | forward_in_turn 127.0.0.1:19351 127.0.0.1:19352; |
| 14 | -#the forward destination server type,default true. if the server is not srs server,connect app maybe fail,try config as false | ||
| 15 | - forward_server_srs true; | 14 | +#if the forward destination server is not srs,such as some rtmp server in cdn,write the address of them below |
| 15 | + forward_server_other 127.0.0.1:19350; | ||
| 16 | +#if the forward server is same as this server , a origin,try use forward_peer, | ||
| 17 | +#the stream pushed from other forward peer will not forward any more in this server | ||
| 18 | + forward_peer 127.0.0.1:1936; | ||
| 16 | } | 19 | } |
This file is too large to display.
-
请 注册 或 登录 后发表评论