mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for bug #257, support NULL msg in msgs to send.
This commit is contained in:
parent
66fd4bbf31
commit
5529813fcb
4 changed files with 15 additions and 10 deletions
|
@ -2201,11 +2201,11 @@ bool SrsConfig::get_realtime_enabled(string vhost)
|
|||
}
|
||||
|
||||
conf = conf->get("min_latency");
|
||||
if (!conf || conf->arg0() != "off") {
|
||||
if (!conf || conf->arg0().empty()) {
|
||||
return SRS_PERF_MIN_LATENCY_ENABLED;
|
||||
}
|
||||
|
||||
return false;
|
||||
return conf->arg0() == "on";
|
||||
}
|
||||
|
||||
int SrsConfig::get_global_chunk_size()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue