|
Agora Java API Reference for Android
|
Recording configurations. More...
#include <AgoraBase.h>
Public Member Functions | |
| AudioRecordingConfiguration (const char *file_path, int sample_rate, AUDIO_RECORDING_QUALITY_TYPE quality_type, int channel) | |
| AudioRecordingConfiguration (const char *file_path, bool enc, int sample_rate, AUDIO_FILE_RECORDING_TYPE type, AUDIO_RECORDING_QUALITY_TYPE quality_type, int channel) | |
| AudioRecordingConfiguration (const AudioRecordingConfiguration &rhs) | |
Public Attributes | |
| const char * | filePath |
| bool | encode |
| int | sampleRate |
| AUDIO_FILE_RECORDING_TYPE | fileRecordingType |
| AUDIO_RECORDING_QUALITY_TYPE | quality |
| int | recordingChannel |
Recording configurations.
| const char* agora::rtc::AudioRecordingConfiguration::filePath |
The absolute path (including the filename extensions) of the recording file. For example: C:\music\audio.aac.
| bool agora::rtc::AudioRecordingConfiguration::encode |
Whether to encode the audio data:
true: Encode audio data in AAC.false: (Default) Do not encode audio data, but save the recorded audio data directly. | int agora::rtc::AudioRecordingConfiguration::sampleRate |
Recording sample rate (Hz).
quality set as AUDIO_RECORDING_QUALITY_MEDIUM or AUDIO_RECORDING_QUALITY_HIGH for better recording quality. | AUDIO_FILE_RECORDING_TYPE agora::rtc::AudioRecordingConfiguration::fileRecordingType |
The recording content. See AUDIO_FILE_RECORDING_TYPE.
| AUDIO_RECORDING_QUALITY_TYPE agora::rtc::AudioRecordingConfiguration::quality |
Recording quality. See AUDIO_RECORDING_QUALITY_TYPE.
| int agora::rtc::AudioRecordingConfiguration::recordingChannel |
The audio channel of recording: The parameter supports the following values:
recordingChannel is 2, the recorded audio is the dual-channel data that is copied from mono data, not stereo.recordingChannel is 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. If you need to record in stereo, contact technical support.
1.8.18