On-premise Recording SDK v3.0.6 API Reference for Linux (Java)
Public Attributes | List of all members
io.agora.recording.common.Common.AudioFrame Class Reference

Public Attributes

AUDIO_FRAME_TYPE type
 
AudioPcmFrame pcm
 
AudioAacFrame aac
 

Detailed Description

The audio frame format.

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.