# Audio Recording Development ## When to Use During audio recording, audio signals are recorded and saved. You can set the sampling rate, number of audio channels, bit rate, encoding format, encapsulation format, and file path for audio recording. ## Available APIs **Table 1** APIs for audio recording
Subscribes to the event of releasing audio recording resources. |
|
audioEncoder?: AudioEncoder |
|
Sampling rate for audio encoding. The default value is 48000. |
|
format?: AudioOutputFormat |
|
Audio output path, which starts with file://path or file://fd. |