From a929f79d2c004e7780865bffca02cdfd3bb302f5 Mon Sep 17 00:00:00 2001 From: hondaxiao Date: Mon, 30 May 2022 19:23:57 +0800 Subject: [PATCH] SRT: Add SRT option annotation in full.conf --- trunk/conf/full.conf | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/trunk/conf/full.conf b/trunk/conf/full.conf index 0dcdbc46f..a6c77c678 100644 --- a/trunk/conf/full.conf +++ b/trunk/conf/full.conf @@ -362,17 +362,44 @@ srt_server { # For detail parameters, please read wiki: # https://github.com/ossrs/srs/wiki/v5_CN_SRTParams # https://github.com/ossrs/srs/wiki/v5_EN_SRTParams + + # The maxbw is the max bandwidth of the sender side. + # -1: Means the biggest bandwidth is infinity. + # 0: Means the bandwidth is determined by SRTO_INPUTBW. + # >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. + # default: 3000 connect_timeout 4000; # Default app for vmix, see https://github.com/ossrs/srs/pull/1615 # default: live default_app live; + # The peerlatency is set by the sender side and will notify the receiver side. + # default: 0 peerlatency 0; + # The recvlatency means latency from sender to receiver. + # default: 120 recvlatency 0; + # This latency configuration configures both recvlatency and peerlatency to the same value. + # default: 120 latency 0; + # The tsbpd mode means timestamp based packet delivery. + # SRT sender side will pack timestamp in each packet. If this config is true, + # the receiver will read the packet according to the timestamp in the head of the packet. + # default: on tsbpdmode off; + # The tlpkdrop means too-late Packet Drop + # SRT sender side will pack timestamp in each packet, When the network is congested, + # the packet will drop if latency is bigger than the configuration in both sender side and receiver side. + # And on the sender side, it also will be dropped because latency is bigger than configuration. + # default: on tlpktdrop off; + # The send buffer size of SRT. + # default: 8192 * (1500-28) sendbuf 2000000; + # The recv buffer size of SRT. + # default: 8192 * (1500-28) recvbuf 2000000; }