- reduce memory consumption when decoding RTP stream + bring back G722 and G729

This commit is contained in:
2024-04-08 09:58:11 +03:00
parent cf9be1c3f2
commit 4ca4e84547
3 changed files with 93 additions and 93 deletions
+2 -2
View File
@@ -240,8 +240,8 @@ void CodecList::init(const Settings& settings)
mFactoryList.push_back(new G711Codec::UlawFactory());
mFactoryList.push_back(new GsmCodec::GsmFactory(mSettings.mGsmFrPayloadLength == 32 ? GsmCodec::Type::Bytes_32 : GsmCodec::Type::Bytes_33, mSettings.mGsmFrPayloadType));
// mFactoryList.push_back(new G722Codec::G722Factory());
// mFactoryList.push_back(new G729Codec::G729Factory());
mFactoryList.push_back(new G722Codec::G722Factory());
mFactoryList.push_back(new G729Codec::G729Factory());
#ifndef TARGET_ANDROID
mFactoryList.push_back(new GsmHrCodec::GsmHrFactory(mSettings.mGsmHrPayloadType));
#endif