winlin

fix the config parse error.

@@ -2570,7 +2570,7 @@ bool SrsConfig::get_vhost_is_edge(SrsConfDirective* vhost) @@ -2570,7 +2570,7 @@ bool SrsConfig::get_vhost_is_edge(SrsConfDirective* vhost)
2570 return SRS_CONF_DEFAULT_EDGE_MODE; 2570 return SRS_CONF_DEFAULT_EDGE_MODE;
2571 } 2571 }
2572 2572
2573 - return SRS_CONF_PERFER_FALSE(conf->arg0()); 2573 + return conf->arg0() == "remote";
2574 } 2574 }
2575 2575
2576 SrsConfDirective* SrsConfig::get_vhost_edge_origin(string vhost) 2576 SrsConfDirective* SrsConfig::get_vhost_edge_origin(string vhost)