- make better AQuA parameters' set + fix odd logging line
This commit is contained in:
parent
9479a0f36f
commit
fbad7e07d0
|
|
@ -335,17 +335,20 @@ void AgentImpl::processStartSession(JsonCpp::Value& request, JsonCpp::Value& ans
|
||||||
std::string path_faults = request["path_faults"].asString();
|
std::string path_faults = request["path_faults"].asString();
|
||||||
|
|
||||||
sevana::aqua::config config = {
|
sevana::aqua::config config = {
|
||||||
{ "avlp", "off" },
|
{"avlp", "off"},
|
||||||
{ "decor", "off" },
|
{"smtnrm", "on"},
|
||||||
{ "mprio", "off" },
|
{"decor", "off"},
|
||||||
{ "miter", "1" },
|
{"mprio", "off"},
|
||||||
{ "enorm", "off" },
|
//{"acr", "auto"},
|
||||||
|
{"miter", "1"},
|
||||||
|
{ "npnt", "auto"},
|
||||||
|
{ "enorm", "rms" },
|
||||||
{ "voip", "on" },
|
{ "voip", "on" },
|
||||||
{ "g711", "on" },
|
{ "g711", "off" },
|
||||||
{ "spfrcor", "on" },
|
{ "spfrcor", "on" },
|
||||||
{ "grad", "off" },
|
{ "grad", "off" },
|
||||||
{ "ratem", "%%m" },
|
{ "ratem", "%m" },
|
||||||
{ "trim", "a 2" },
|
{ "trim", "r 10" },
|
||||||
{ "output", "json" },
|
{ "output", "json" },
|
||||||
{ "fau", path_faults},
|
{ "fau", path_faults},
|
||||||
{ "specp", "32"}
|
{ "specp", "32"}
|
||||||
|
|
|
||||||
|
|
@ -147,7 +147,7 @@ void AudioStream::addData(const void* buffer, int bytes)
|
||||||
Lock l(mMutex);
|
Lock l(mMutex);
|
||||||
codec = mTransmittingCodec.get();
|
codec = mTransmittingCodec.get();
|
||||||
if (nullptr == codec) {
|
if (nullptr == codec) {
|
||||||
ICELogDebug(<< "No transmitting codec selected.");
|
// ICELogDebug(<< "No transmitting codec selected.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue