Skip to content

Commit

Permalink
SRT: add option peer_idle_timeout in full.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaozhihong authored and winlinvip committed Jun 14, 2022
1 parent dd8ccfe commit 59d9cdb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion trunk/conf/full.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 59d9cdb

Please sign in to comment.