mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 11:51:57 +00:00
SRT: Add SRT option annotation in full.conf
This commit is contained in:
parent
492e3a888c
commit
a929f79d2c
1 changed files with 27 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue