diff --git a/reflector/Configure.cpp b/reflector/Configure.cpp index 0fff6bc..fa29100 100644 --- a/reflector/Configure.cpp +++ b/reflector/Configure.cpp @@ -290,10 +290,10 @@ bool CConfigure::ReadData(const std::string &path) break; case ESection::tc: if (0 == key.compare(JPORT)) - data[g_Keys.tc.port] = getUnsigned(value, "Transcoder Port", 0, 40000, 10100); - else if (key.compare(JBINDINGADDRESS)) + data[g_Keys.tc.port] = getUnsigned(value, "Transcoder Port", 1024, 40000, 10100); + else if (0 == key.compare(JBINDINGADDRESS)) data[g_Keys.tc.bind] = value; - else if (key.compare(JMODULES)) + else if (0 == key.compare(JMODULES)) { std::string m(value); if (checkModules(m))