mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 11:51:57 +00:00
SRT: add option peer_idle_timeout in full.conf
This commit is contained in:
parent
dd8ccfe5d8
commit
59d9cdbe61
1 changed files with 6 additions and 1 deletions
|
@ -369,9 +369,14 @@ srt_server {
|
|||
# >0: Means the bandwidth is the configuration value.
|
||||
# default: -1
|
||||
maxbw 1000000000;
|
||||
# The timeout time of SRT connection. When the SRT connection is idle more than this config, it will be close.
|
||||
# The timeout time of the SRT connection on the sender side in ms. When SRT connects to a peer costs time
|
||||
# more than this config, it will be close.
|
||||
# default: 3000
|
||||
connect_timeout 4000;
|
||||
# The timeout time of SRT connection on the receiver side in ms. When the SRT connection is idle
|
||||
# more than this config, it will be close.
|
||||
# default: 10000
|
||||
peer_idle_timeout 8000;
|
||||
# Default app for vmix, see https://github.com/ossrs/srs/pull/1615
|
||||
# default: live
|
||||
default_app live;
|
||||
|
|
Loading…
Reference in a new issue