1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 11:51:57 +00:00

SRT: Update full.conf for new configs.

This commit is contained in:
winlin 2022-05-23 08:44:16 +08:00
parent d88fd12c26
commit bda0268a37
2 changed files with 14 additions and 11 deletions

View file

@ -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;
}
#############################################################################################

View file

@ -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