mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Merge branch 'develop' into 3.0release.srt.dev
This commit is contained in:
commit
ed1a3aa37c
26 changed files with 424 additions and 84 deletions
|
@ -72,6 +72,27 @@ work_dir ./;
|
|||
# @reamrk do not support reload.
|
||||
# default: off
|
||||
asprocess off;
|
||||
# Whether client empty IP is ok, for example, health checking by SLB.
|
||||
# If ok(on), we will ignore this connection without warnings or errors.
|
||||
# default: on
|
||||
empty_ip_ok on;
|
||||
|
||||
# For gracefully quit, wait for a while then close listeners,
|
||||
# because K8S notify SRS with SIGQUIT and update Service simultaneously,
|
||||
# maybe there is some new connections incoming before Service updated.
|
||||
# @see https://github.com/ossrs/srs/issues/1595#issuecomment-587516567
|
||||
# default: 2300
|
||||
grace_start_wait 2300;
|
||||
# For gracefully quit, final wait for cleanup in milliseconds.
|
||||
# @see https://github.com/ossrs/srs/issues/1579#issuecomment-587414898
|
||||
# default: 3200
|
||||
grace_final_wait 3200;
|
||||
# Whether force gracefully quit, never fast quit.
|
||||
# By default, SIGTERM which means fast quit, is sent by K8S, so we need to
|
||||
# force SRS to treat SIGTERM as gracefully quit for gray release or canary.
|
||||
# @see https://github.com/ossrs/srs/issues/1579#issuecomment-587475077
|
||||
# default: off
|
||||
force_grace_quit off;
|
||||
|
||||
#############################################################################################
|
||||
# heartbeat/stats sections
|
||||
|
@ -269,6 +290,9 @@ srt_server {
|
|||
connect_timeout 4000;
|
||||
peerlatency 300;
|
||||
recvlatency 300;
|
||||
# Default app for vmix, see https://github.com/ossrs/srs/pull/1615
|
||||
# default: live
|
||||
default_app live;
|
||||
}
|
||||
|
||||
#############################################################################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue