1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Squash: SRS 4.0, Stat the oc(origin cluster).

This commit is contained in:
winlin 2021-10-13 09:03:47 +08:00
parent e127880ec2
commit cd7e5a131e
6 changed files with 24 additions and 20 deletions

View file

@ -717,6 +717,7 @@ public:
// Whether enable the origin cluster.
// @see https://github.com/ossrs/srs/wiki/v3_EN_OriginCluster
virtual bool get_vhost_origin_cluster(std::string vhost);
virtual bool get_vhost_origin_cluster(SrsConfDirective* conf);
// Get the co-workers of origin cluster.
// @see https://github.com/ossrs/srs/wiki/v3_EN_OriginCluster
virtual std::vector<std::string> get_vhost_coworkers(std::string vhost);