mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine the conf, use srs3 style
This commit is contained in:
parent
77d21f7e32
commit
7ae76b579e
6 changed files with 25 additions and 15 deletions
|
@ -11,7 +11,9 @@ pid ./objs/srs.demo.19350.pid;
|
|||
|
||||
vhost __defaultVhost__ {
|
||||
enabled on;
|
||||
gop_cache on;
|
||||
play {
|
||||
gop_cache on;
|
||||
}
|
||||
hls {
|
||||
enabled on;
|
||||
hls_path ./objs/nginx/html/forward;
|
||||
|
|
|
@ -445,17 +445,19 @@ vhost play.srs.com {
|
|||
# vhost for time jitter
|
||||
vhost jitter.srs.com {
|
||||
# @see play.srs.com
|
||||
time_jitter full;
|
||||
# @see play.srs.com
|
||||
mix_correct off;
|
||||
play {
|
||||
time_jitter full;
|
||||
mix_correct off;
|
||||
}
|
||||
}
|
||||
|
||||
# vhost for atc.
|
||||
vhost atc.srs.com {
|
||||
# @see play.srs.com
|
||||
atc on;
|
||||
# @see play.srs.com
|
||||
atc_auto on;
|
||||
play {
|
||||
atc on;
|
||||
atc_auto on;
|
||||
}
|
||||
}
|
||||
|
||||
# the MR(merged-read) setting for publisher.
|
||||
|
|
|
@ -12,8 +12,10 @@ http_server {
|
|||
dir ./objs/nginx/html;
|
||||
}
|
||||
vhost __defaultVhost__ {
|
||||
mode remote;
|
||||
origin 127.0.0.1;
|
||||
cluster {
|
||||
mode remote;
|
||||
origin 127.0.0.1;
|
||||
}
|
||||
http_remux {
|
||||
enabled on;
|
||||
mount [vhost]/[app]/[stream].flv;
|
||||
|
|
|
@ -12,8 +12,10 @@ http_server {
|
|||
dir ./objs/nginx/html;
|
||||
}
|
||||
vhost __defaultVhost__ {
|
||||
mode remote;
|
||||
origin 127.0.0.1;
|
||||
cluster {
|
||||
mode remote;
|
||||
origin 127.0.0.1;
|
||||
}
|
||||
http_remux {
|
||||
enabled on;
|
||||
mount [vhost]/[app]/[stream].flv;
|
||||
|
|
|
@ -9,7 +9,7 @@ http_server {
|
|||
dir ./objs/nginx/html;
|
||||
}
|
||||
vhost ossrs.net {
|
||||
http {
|
||||
http_static {
|
||||
enabled on;
|
||||
mount [vhost]/;
|
||||
dir ./objs/nginx/html;
|
||||
|
|
|
@ -21,7 +21,9 @@ vhost source.srs.com {
|
|||
}
|
||||
}
|
||||
vhost transform.srs.edge.com {
|
||||
mode remote;
|
||||
origin 127.0.0.1:1935;
|
||||
vhost source.srs.com;
|
||||
cluster {
|
||||
mode remote;
|
||||
origin 127.0.0.1:1935;
|
||||
vhost source.srs.com;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue