mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #307, support linux GSO for RTC
This commit is contained in:
parent
b1438bf52c
commit
3b7240b8e0
4 changed files with 193 additions and 7 deletions
|
@ -4803,7 +4803,15 @@ bool SrsConfig::get_rtc_server_gso()
|
|||
return DEFAULT;
|
||||
}
|
||||
|
||||
return SRS_CONF_PERFER_FALSE(conf->arg0());
|
||||
bool v = SRS_CONF_PERFER_FALSE(conf->arg0());
|
||||
|
||||
#ifdef SRS_AUTO_OSX
|
||||
if (v) {
|
||||
srs_warn("GSO is for Linux only");
|
||||
}
|
||||
v = false;
|
||||
#endif
|
||||
return v;
|
||||
}
|
||||
|
||||
SrsConfDirective* SrsConfig::get_rtc(string vhost)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue