mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
SRT: Fix the missing config mss. v5.0.188 (#3825)
--------- Co-authored-by: john <hondaxiao@tencent.com>
This commit is contained in:
parent
75c9c5a849
commit
53ebf58583
5 changed files with 11 additions and 4 deletions
|
@ -4225,7 +4225,7 @@ VOID TEST(ConfigEnvTest, CheckEnvValuesSrtServer)
|
|||
SrsSetEnvConfig(srto_maxbw, "SRS_SRT_SERVER_MAXBW", "1000000000");
|
||||
EXPECT_EQ(1000000000, conf.get_srto_maxbw());
|
||||
|
||||
SrsSetEnvConfig(srto_mss, "SRS_SRT_SERVER_MMS", "1000");
|
||||
SrsSetEnvConfig(srto_mss, "SRS_SRT_SERVER_MSS", "1000");
|
||||
EXPECT_EQ(1000, conf.get_srto_mss());
|
||||
|
||||
SrsSetEnvConfig(srto_conntimeout, "SRS_SRT_SERVER_CONNECT_TIMEOUT", "2000");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue