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:
parent
6ee49ee029
commit
a14220d4fb
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue