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

fix #735 config transform refer_publish invalid. 3.0.14

This commit is contained in:
winlin 2017-01-11 09:45:22 +08:00
parent 7bbb3bae42
commit 7fe60b5bbf
3 changed files with 5 additions and 3 deletions

View file

@ -391,10 +391,10 @@ int srs_config_transform_vhost(SrsConfDirective* root)
if (n == "refer") {
SrsConfDirective* all = refer->get_or_create("all");
all->args = conf->args;
} else if (n == "play") {
} else if (n == "refer_play") {
SrsConfDirective* play = refer->get_or_create("play");
play->args = conf->args;
} else if (n == "publish") {
} else if (n == "refer_publish") {
SrsConfDirective* publish = refer->get_or_create("publish");
publish->args = conf->args;
}