diff --git a/config/urfd.ini b/config/urfd.ini index 8c350fd..67bce83 100644 --- a/config/urfd.ini +++ b/config/urfd.ini @@ -52,7 +52,7 @@ NNGDebug = false [Audio] Enable = false -path = ./audio/ +Path = ./audio/ [Transcoder] Port = 10100 # TCP listening port for connection(s), set to 0 if there is no transcoder, then other two values will be ignored diff --git a/reflector/Configure.cpp b/reflector/Configure.cpp index 145129d..ffbbde7 100644 --- a/reflector/Configure.cpp +++ b/reflector/Configure.cpp @@ -540,7 +540,7 @@ bool CConfigure::ReadData(const std::string &path) case ESection::audio: if (0 == key.compare(JENABLE)) data[g_Keys.audio.enable] = IS_TRUE(value[0]); - else if (0 == key.compare("Path")) + else if (0 == key.compare("Path") || 0 == key.compare("path")) data[g_Keys.audio.path] = value; else badParam(key);