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
| read write nonatomic copy

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
| read write nonatomic assign

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
| read write nonatomic assign

Recording content. See AgoraAudioFileRecordingType.

## ◆ quality

- (AgoraAudioRecordingQuality) quality
| read write nonatomic assign

Audio recording quality. See AgoraAudioRecordingQuality.

Note
  This parameter applies for AAC files only.

## ◆ recordingChannel

- (NSInteger) recordingChannel
| read write nonatomic assign

Recording channel.The following values are supported:

- (Default) 1
- 2