1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00

fix bug of auto bravo atc

This commit is contained in:
winlin 2014-04-30 10:31:05 +08:00
parent 6ee49ee029
commit a14220d4fb

View file

@ -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;