winlin

fix bug of auto bravo atc

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