mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add stream status to api.
This commit is contained in:
parent
ac13817aae
commit
7fc1cda392
5 changed files with 35 additions and 4 deletions
|
@ -2570,7 +2570,7 @@ bool SrsConfig::get_vhost_is_edge(SrsConfDirective* vhost)
|
|||
return SRS_CONF_DEFAULT_EDGE_MODE;
|
||||
}
|
||||
|
||||
return conf->arg0() == "remote";
|
||||
return "remote" == conf->arg0();
|
||||
}
|
||||
|
||||
SrsConfDirective* SrsConfig::get_vhost_edge_origin(string vhost)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue