mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
SRT: Upgrade libsrt from 1.4.1 to 1.5.1. v6.0.12 (#3362)
Co-authored-by: winlin <winlin@vip.126.com>
This commit is contained in:
parent
7a56208f2f
commit
fe086dfc31
143 changed files with 38185 additions and 15108 deletions
|
@ -7599,7 +7599,7 @@ unsigned short SrsConfig::get_srt_listen_port()
|
|||
return (unsigned short)atoi(conf->arg0().c_str());
|
||||
}
|
||||
|
||||
int SrsConfig::get_srto_maxbw()
|
||||
int64_t SrsConfig::get_srto_maxbw()
|
||||
{
|
||||
SRS_OVERWRITE_BY_ENV_INT("srs.srt_server.maxbw"); // SRS_SRT_SERVER_MAXBW
|
||||
|
||||
|
@ -7613,7 +7613,7 @@ int SrsConfig::get_srto_maxbw()
|
|||
if (!conf || conf->arg0().empty()) {
|
||||
return DEFAULT;
|
||||
}
|
||||
return atoi(conf->arg0().c_str());
|
||||
return atoll(conf->arg0().c_str());
|
||||
}
|
||||
|
||||
int SrsConfig::get_srto_mss()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue