测试设备为iphone16pm
小游戏环境,用以下参数录音录音,
recorderManager.start({
format: 'pcm',
sampleRate: 44100,
encodeBitRate: 64000,
numberOfChannels: 1,
frameSize:100,
duration:6000,
});
在ios真机调试的情况下,onFrameRecorded回调的结果是有着m4a头的arraybuffer,打印出来为0 0 0 28 102 116 121 112 77 52 65 32 0 0 0 0 77 52 65 32 109 112 52 50 105 115 111 109 0 0 3 237 109 111 111 118...
而且format改成别的也是一样,但在android机器上就能正确回调pcm数据。
同时测试过小程序环境,回调的也不是裸pcm,而是有caff头的数据。
有没有知道这是什么毛病的
