From 59d9cdbe61fade8ffb253880c25c17c71d45a7b2 Mon Sep 17 00:00:00 2001 From: hondaxiao Date: Mon, 30 May 2022 19:51:11 +0800 Subject: [PATCH] SRT: add option peer_idle_timeout in full.conf --- trunk/conf/full.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/trunk/conf/full.conf b/trunk/conf/full.conf index a6c77c678..d62004ff4 100644 --- a/trunk/conf/full.conf +++ b/trunk/conf/full.conf @@ -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;