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

support forward stream to origin/edge

This commit is contained in:
winlin 2013-11-29 22:20:51 +08:00
parent f656087d74
commit db405b7e0e
11 changed files with 3531 additions and 3392 deletions

View file

@ -15,7 +15,7 @@ vhost __defaultVhost__ {
hls_path ./objs/nginx/html;
hls_fragment 5;
hls_window 30;
forward 192.168.1.50;
forward 127.0.0.1:1936;
}
# the vhost which forward publish streams.
vhost forward.vhost.com {
@ -103,6 +103,9 @@ pithy_print {
publish 2000;
# shared print interval for all play clients, in milliseconds.
# if not specified, set to 1300.
play 3000;
play 3000;
# shared print interval for all forwarders, in milliseconds.
# if not specified, set to 2000.
forwarder 3000;
}