Public Attributes

AUDIO_FRAME_TYPE type
 
AudioPcmFrame pcm
 
AudioAacFrame aac
 

Detailed Description

AudioFrame class when raw audio data is used.

Member Data Documentation

◆ type

AUDIO_FRAME_TYPE io.agora.recording.common.Common.AudioFrame.type

AUDIO_FRAME_TYPE indicates the audio frame format, PCM or AAC.

◆ pcm

AudioPcmFrame io.agora.recording.common.Common.AudioFrame.pcm

If type is AUDIO_FRAME_RAW_PCM, then PCM field points to PCM format audio data, AAC should not be used. See the structure of AudioPcmFrame.

◆ aac

AudioAacFrame io.agora.recording.common.Common.AudioFrame.aac

If type is AUDIO_FRAME_AAC, then AAC field points to AAC format audio data, PCM should not be used. See the structure of AudioAacFrame.