From bda0268a37103512b63f11753f55f2312575f7a8 Mon Sep 17 00:00:00 2001 From: winlin Date: Mon, 23 May 2022 08:44:16 +0800 Subject: [PATCH] SRT: Update full.conf for new configs. --- trunk/conf/full.conf | 15 +++++++++------ trunk/conf/srt.conf | 10 +++++----- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/trunk/conf/full.conf b/trunk/conf/full.conf index 1e975ade8..15765eb1e 100644 --- a/trunk/conf/full.conf +++ b/trunk/conf/full.conf @@ -352,7 +352,7 @@ stream_caster { ############################################################################################# # SRT server section ############################################################################################# -# @doc https://github.com/ossrs/srs/issues/1147#issuecomment-577607026 +# @doc https://github.com/ossrs/srs/issues/1147#usage srt_server { # whether SRT server is enabled. # default: off @@ -364,11 +364,14 @@ srt_server { # https://github.com/ossrs/srs/wiki/v4_EN_SRTParams maxbw 1000000000; connect_timeout 4000; - peerlatency 300; - recvlatency 300; - # Default app for vmix, see https://github.com/ossrs/srs/pull/1615 - # default: live - default_app live; + peerlatency 0; + recvlatency 0; + # TODO: FIXME: Add comments. + latency 0; + tsbpdmode off; + tlpktdrop off; + sendbuf 2000000; + recvbuf 2000000; } ############################################################################################# diff --git a/trunk/conf/srt.conf b/trunk/conf/srt.conf index bcb1f9de4..f9cc63f50 100644 --- a/trunk/conf/srt.conf +++ b/trunk/conf/srt.conf @@ -18,16 +18,16 @@ http_server { srt_server { enabled on; - tsbpdmode off; - tlpktdrop off; - latency 0; - sendbuf 2000000; - recvbuf 2000000; listen 10080; maxbw 1000000000; connect_timeout 4000; peerlatency 0; recvlatency 0; + latency 0; + tsbpdmode off; + tlpktdrop off; + sendbuf 2000000; + recvbuf 2000000; } # @doc https://github.com/ossrs/srs/issues/1147#issuecomment-577607026