mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #307, support merge multiple slices/NALUs to one NALU/RTP/FUA
This commit is contained in:
parent
5d23bb6a8a
commit
96059e0d42
7 changed files with 230 additions and 13 deletions
|
@ -4774,7 +4774,7 @@ int SrsConfig::get_rtc_server_reuseport()
|
|||
|
||||
bool SrsConfig::get_rtc_server_merge_nalus()
|
||||
{
|
||||
static int DEFAULT = false;
|
||||
static int DEFAULT = true;
|
||||
|
||||
SrsConfDirective* conf = root->get("rtc_server");
|
||||
if (!conf) {
|
||||
|
@ -4786,7 +4786,7 @@ bool SrsConfig::get_rtc_server_merge_nalus()
|
|||
return DEFAULT;
|
||||
}
|
||||
|
||||
return SRS_CONF_PERFER_FALSE(conf->arg0());
|
||||
return SRS_CONF_PERFER_TRUE(conf->arg0());
|
||||
}
|
||||
|
||||
bool SrsConfig::get_rtc_server_gso()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue