1
0
Fork 0
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:
winlin 2014-12-13 11:22:40 +08:00
parent 66fd4bbf31
commit 5529813fcb
4 changed files with 15 additions and 10 deletions

View file

@ -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()