fix bug of auto bravo atc
This commit is contained in:
parent
6ee49ee029
commit
a14220d4fb
|
|
@ -823,6 +823,7 @@ int SrsSource::on_meta_data(SrsMessage* msg, SrsOnMetaDataPacket* metadata)
|
||||||
}
|
}
|
||||||
|
|
||||||
// if bravo-atc, open atc for vhost.
|
// 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 = metadata->metadata->get_property("bravo_atc")) != NULL) {
|
||||||
if (prop->is_string() && prop->to_str() == "true") {
|
if (prop->is_string() && prop->to_str() == "true") {
|
||||||
atc = true;
|
atc = true;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user