fix bug of auto bravo atc

pull/133/head
winlin 11 years ago
parent 6ee49ee029
commit a14220d4fb

@ -823,6 +823,7 @@ int SrsSource::on_meta_data(SrsMessage* msg, SrsOnMetaDataPacket* metadata)
}
// if bravo-atc, open atc for vhost.
atc = _srs_config->get_atc(_req->vhost);
if ((prop = metadata->metadata->get_property("bravo_atc")) != NULL) {
if (prop->is_string() && prop->to_str() == "true") {
atc = true;

Loading…
Cancel
Save