- fix samplerate to 48000

This commit is contained in:
2021-06-09 21:43:48 +03:00
parent fbad7e07d0
commit e7467aa154
2 changed files with 2 additions and 2 deletions

View File

@@ -535,7 +535,7 @@ int OpusCodec::plc(int lostFrames, void* output, int outputCapacity)
#define ILBC_CODEC_NAME "ILBC"
IlbcCodec::IlbcCodec(int packetTime)
:mPacketTime(packetTime)
:mPacketTime(packetTime), mEncoderCtx(nullptr), mDecoderCtx(nullptr)
{
WebRtcIlbcfix_EncoderCreate(&mEncoderCtx);
WebRtcIlbcfix_DecoderCreate(&mDecoderCtx);