AgoraAudioRecordingConfiguration Class Reference
Since v3.4.0. Recording configuration, which is set in startAudioRecordingWithConfig.
The absolute path (including the filename extensions) of the recording file. For example:
@property (copy, nonatomic) NSString *filePath
Note: Ensure that the path you specify exists and is writable.
Audio recording quality. See AgoraAudioRecordingQuality.
@property (assign, nonatomic) AgoraAudioRecordingQuality recordingQuality
Note: This parameter applies for AAC files only.
Recording content. See AgoraAudioRecordingPosition.
@property (assign, nonatomic) AgoraAudioRecordingPosition recordingPosition
Recording sample rate (Hz). The following values are supported:
@property (assign, nonatomic) NSInteger recordingSampleRate
- (Default) 32000
Note: If this parameter is set to
48000, for better recording effects, Agora recommends recording WAV
files or AAC files whose
The recorded audio channel.
@property (assign, nonatomic) NSInteger recordingChannel
The following values are supported:
1: (Default) Mono channel.
2: Dual channel.
Note: The actual recorded audio channel is related to the audio channel that you capture. If the captured audio is mono and
2, the recorded audio is the dual-channel data that is copied from mono data, not stereo. If the captured audio is dual channel and
1, the recorded audio is the mono data that is mixed by dual-channel data. The integration scheme also affects the final recorded audio channel. Therefore, to record in stereo, contact technical support for assistance.