- more work on EVS

This commit is contained in:
2020-06-15 17:54:28 +03:00
parent 46c355e29a
commit 3bffbb446d
29 changed files with 236 additions and 171 deletions
+6 -2
View File
@@ -1,7 +1,8 @@
/* Copyright(C) 2007-2019 VoIPobjects (voipobjects.com)
/* Copyright(C) 2007-2020 VoIPobjects (voipobjects.com)
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include <algorithm>
#include "../config.h"
#include "MT_CodecList.h"
@@ -11,7 +12,7 @@
# include "MT_AmrCodec.h"
#endif
#include <algorithm>
#include "MT_EvsCodec.h"
using namespace MT;
@@ -60,6 +61,9 @@ CodecList::CodecList(const Settings& settings)
#ifndef TARGET_ANDROID
mFactoryList.push_back(new GsmHrCodec::GsmHrFactory(mSettings.mGsmHrPayloadType));
#endif
if (mSettings.mEvsPayloadType != -1)
mFactoryList.push_back(new EVSCodec::EVSFactory(EVSCodec::StreamParameters()));
}
CodecList::~CodecList()