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

Enable GSO by default

This commit is contained in:
winlin 2020-04-14 11:41:23 +08:00
parent 24eb61156f
commit b6a929f9cf
2 changed files with 4 additions and 4 deletions

View file

@ -4795,7 +4795,7 @@ bool SrsConfig::get_rtc_server_merge_nalus()
bool SrsConfig::get_rtc_server_gso()
{
static int DEFAULT = false;
static int DEFAULT = true;
SrsConfDirective* conf = root->get("rtc_server");
if (!conf) {
@ -4807,7 +4807,7 @@ bool SrsConfig::get_rtc_server_gso()
return DEFAULT;
}
bool v = SRS_CONF_PERFER_FALSE(conf->arg0());
bool v = SRS_CONF_PERFER_TRUE(conf->arg0());
bool gso_disabled = false;
#if !defined(__linux__)