关于webrtc中的音频采集,当然和是各个平台采集具体实现,上层封装统一接口;
从数据源来看,音频数据来自于class AudioDeviceModule;
然后查看:
virtual int32_t RegisterAudioCallback(AudioTransport* audioCallback) = 0;
class AudioTransport {
public:
virtual int32_t RecordedDataIsAvailable(const void* audioSamples,
const size_t nSamples,
const size_t nBytesPerSample,
const size_t nChannels,
const uint32_t samplesPerSec,
const uint32_t totalDelayMS,
const