mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #319, move gop_cache and queue_length to play
This commit is contained in:
parent
06ae74dd3f
commit
f7c893d907
10 changed files with 105 additions and 151 deletions
|
@ -28,7 +28,7 @@ vhost __defaultVhost__ {
|
|||
dir ./objs/nginx/html/hls;
|
||||
}
|
||||
|
||||
# for SRS2.
|
||||
# for SRS1.
|
||||
refer github.com github.io;
|
||||
refer_publish github.com github.io;
|
||||
refer_play github.com github.io;
|
||||
|
@ -43,7 +43,7 @@ vhost __defaultVhost__ {
|
|||
latency 350;
|
||||
}
|
||||
|
||||
# for SRS2
|
||||
# for SRS1
|
||||
mode remote;
|
||||
origin 127.0.0.1:1935 localhost:1935;
|
||||
|
||||
|
@ -52,21 +52,27 @@ vhost __defaultVhost__ {
|
|||
|
||||
debug_srs_upnode off;
|
||||
|
||||
# for SRS2
|
||||
# for SRS1
|
||||
forward 127.0.0.1:1936 127.0.0.1:1937;
|
||||
|
||||
# for SRS2
|
||||
# for SRS1
|
||||
time_jitter full;
|
||||
|
||||
# for SRS2
|
||||
mix_correct off;
|
||||
|
||||
#for SRS1
|
||||
atc on;
|
||||
atc_auto on;
|
||||
|
||||
|
||||
# for SRS2
|
||||
mw_latency 100;
|
||||
|
||||
# for SRS1
|
||||
gop_cache off;
|
||||
queue_length 10;
|
||||
|
||||
# for SRS2
|
||||
send_min_interval 10.0;
|
||||
reduce_sequence_header on;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue