1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

solve latency parameter error (#1600)

* solve latency parameter error
This commit is contained in:
Alex.CR 2020-02-12 20:54:24 -06:00 committed by GitHub
parent 5f7d23f123
commit 9dad53691e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 5 deletions

View file

@ -6761,7 +6761,7 @@ int SrsConfig::get_srto_recv_latency() {
}
int SrsConfig::get_srto_peer_latency() {
static int DEFAULT = 120;
static int DEFAULT = 0;
SrsConfDirective* conf = root->get("srt_server");
if (!conf) {
return DEFAULT;