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

SRT: add option peer_idle_timeout in full.conf

This commit is contained in:
hondaxiao 2022-05-30 19:51:11 +08:00 committed by winlin
parent dd8ccfe5d8
commit 59d9cdbe61

View file

@ -369,9 +369,14 @@ srt_server {
# >0: Means the bandwidth is the configuration value. # >0: Means the bandwidth is the configuration value.
# default: -1 # default: -1
maxbw 1000000000; 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 # default: 3000
connect_timeout 4000; 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 app for vmix, see https://github.com/ossrs/srs/pull/1615
# default: live # default: live
default_app live; default_app live;