From e50996270ef1cd368ed275a1351403cc17e95fdf Mon Sep 17 00:00:00 2001 From: winlin Date: Thu, 23 Apr 2015 16:25:49 +0800 Subject: [PATCH] fix the config parse error. --- trunk/src/app/srs_app_config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/src/app/srs_app_config.cpp b/trunk/src/app/srs_app_config.cpp index 4219e8e53..48ed9bb94 100644 --- a/trunk/src/app/srs_app_config.cpp +++ b/trunk/src/app/srs_app_config.cpp @@ -2570,7 +2570,7 @@ bool SrsConfig::get_vhost_is_edge(SrsConfDirective* vhost) return SRS_CONF_DEFAULT_EDGE_MODE; } - return SRS_CONF_PERFER_FALSE(conf->arg0()); + return conf->arg0() == "remote"; } SrsConfDirective* SrsConfig::get_vhost_edge_origin(string vhost)