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

add load balance round robin for brokers.

This commit is contained in:
winlin 2015-09-24 17:20:04 +08:00
parent 2a4ab8a923
commit 6efd2dd27e
8 changed files with 147 additions and 7 deletions

View file

@ -4290,7 +4290,7 @@ SrsConfDirective* SrsConfig::get_kafka_brokers()
return NULL;
}
conf->get("brokers");
conf = conf->get("brokers");
if (!conf || conf->args.empty()) {
return NULL;
}