From 7839c667afb61b4145ee78d20694b03e096fa685 Mon Sep 17 00:00:00 2001 From: john Date: Sun, 12 Feb 2023 16:22:47 +0800 Subject: [PATCH] SRT: Reduce latency to 200ms of srt2rtc.conf (#3409) PICK 64fa116c65ba57330ab96dfc0a1a8861f33df3ad Co-authored-by: winlin Co-authored-by: chundonglinlin --- trunk/conf/srt2rtc.conf | 4 ++-- trunk/doc/CHANGELOG.md | 1 + trunk/src/core/srs_core_version5.hpp | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/trunk/conf/srt2rtc.conf b/trunk/conf/srt2rtc.conf index b329b4006..2f4ac6ba4 100644 --- a/trunk/conf/srt2rtc.conf +++ b/trunk/conf/srt2rtc.conf @@ -20,8 +20,8 @@ srt_server { listen 10080; maxbw 1000000000; connect_timeout 4000; - peerlatency 300; - recvlatency 300; + peerlatency 0; + recvlatency 0; } rtc_server { diff --git a/trunk/doc/CHANGELOG.md b/trunk/doc/CHANGELOG.md index 8ae5683c6..24ad724d5 100644 --- a/trunk/doc/CHANGELOG.md +++ b/trunk/doc/CHANGELOG.md @@ -8,6 +8,7 @@ The changelog for SRS. ## SRS 5.0 Changelog +* v5.0, 2023-02-12, Merge [#3409](https://github.com/ossrs/srs/pull/3409): SRT: Reduce latency to 200ms of srt2rtc.conf. v5.0.141 (#3409) * v5.0, 2023-02-08, Merge [#3391](https://github.com/ossrs/srs/pull/3391): Config: Error when both HLS and HTTP-TS enabled. v5.0.140 (#3391) * v5.0, 2023-01-29, Merge [#3371](https://github.com/ossrs/srs/pull/3371): HLS: support kick-off hls client. v5.0.139 (#3371) * v5.0, 2023-01-19, Merge [#3318](https://github.com/ossrs/srs/pull/3318): RTC: fix rtc publisher pli cid. v5.0.138 (#3318) diff --git a/trunk/src/core/srs_core_version5.hpp b/trunk/src/core/srs_core_version5.hpp index 502f91b68..31ec247c7 100644 --- a/trunk/src/core/srs_core_version5.hpp +++ b/trunk/src/core/srs_core_version5.hpp @@ -9,6 +9,6 @@ #define VERSION_MAJOR 5 #define VERSION_MINOR 0 -#define VERSION_REVISION 140 +#define VERSION_REVISION 141 #endif