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

RTC: Disable player perf stat, because it should be refined.

This commit is contained in:
winlin 2021-02-27 12:54:06 +08:00
parent f689b74cc7
commit ab601ff386
3 changed files with 10 additions and 9 deletions

View file

@ -4887,7 +4887,7 @@ bool SrsConfig::get_rtc_server_merge_nalus()
bool SrsConfig::get_rtc_server_perf_stat()
{
static bool DEFAULT = true;
static bool DEFAULT = false;
SrsConfDirective* conf = root->get("rtc_server");
if (!conf) {
@ -4899,7 +4899,7 @@ bool SrsConfig::get_rtc_server_perf_stat()
return DEFAULT;
}
return SRS_CONF_PERFER_TRUE(conf->arg0());
return SRS_CONF_PERFER_FALSE(conf->arg0());
}
SrsConfDirective* SrsConfig::get_rtc_server_rtp_cache()