Agora RTC Objective-C API Reference Refactor

Properties
AgoraAudioRecordingConfiguration Class Reference

Inherits <NSObject>.

## Properties
NSString *_Nullable | filePath
NSUInteger | sampleRate
AgoraAudioFileRecordingType | fileRecordOption
AgoraAudioRecordingQuality | quality
NSInteger | recordingChannel

## Detailed Description

Configurations of SimulcastStreamConfig.

## Property Documentation

## ◆ filePath

- (NSString* _Nullable) filePath
| readwritenonatomiccopy

The absolute path (including the filename extensions) of the recording file. For example: `/var/mobile/Containers/Data/audio.aac`.

Note
  Ensure that the path you specify exists and is writable.

## ◆ sampleRate

- (NSUInteger) sampleRate
| readwritenonatomicassign

Recording sample rate (Hz). The following values are supported:

- 16000
- (Default) 32000
- 44100
- 48000
  Note
    If this parameter is set to `44100` or `48000`, for better recording effects, Agora recommends recording WAV files or AAC files whose `quality` is `AgoraAudioRecordingQualityMedium` or `AgoraAudioRecordingQualityHigh`.

## ◆ fileRecordOption

- (AgoraAudioFileRecordingType) fileRecordOption
| readwritenonatomicassign

Recording content. See AgoraAudioFileRecordingType.

## ◆ quality

- (AgoraAudioRecordingQuality) quality
| readwritenonatomicassign

Audio recording quality. See AgoraAudioRecordingQuality.

Note
  This parameter applies for AAC files only.

## ◆ recordingChannel

- (NSInteger) recordingChannel
| readwritenonatomicassign

Recording channel.The following values are supported:

- (Default) 1
- 2