![]() ![]() ![]() ![]() |
|||||
|
|||||
樓主 Wayne ![]()
![]() |
但是server是接收iLBC的格式,依照我目前的理解應該是要將麥克風所錄到的linear PCM格式轉換成iLBC後送出∼ 也參考過此偏文章:http://www.it610.com/article/4428805.htm (但是他是將聲音轉換成AAC的格式) 但是依照上述的文章將AAC改成ILBC後在AudioConverterFillComplexBuffer 這行都會出現'insz'這樣的錯誤 以下是我設定iLBC的格式 dstFormat.mSampleRate = 8000.0; dstFormat.mFormatID = kAudioFormatiLBC ; dstFormat.mChannelsPerFrame = 1; dstFormat.mBytesPerPacket = 50;50; dstFormat.mFramesPerPacket = 240; dstFormat.mBytesPerFrame = 0; dstFormat.mBitsPerChannel = 0; dstFormat.mFormatFlags = 0; 不知道有沒有高手可以幫忙解惑? 謝謝 |