Voice SDK v3.7.1 API Reference for Unity
|
Public Attributes |
|
string | filePath |
AUDIO_RECORDING_QUALITY_TYPE | recordingQuality |
AUDIO_RECORDING_POSITION | recordingPosition |
int | recordingSampleRate |
int | recordingChannel |
Recording configuration, which is set in StartAudioRecording.
string agora_gaming_rtc.AudioRecordingConfiguration.filePath |
The absolute path (including the filename extensions) of the recording file. For
example: C:\music\audio.aac
. Ensure that the path you specify exists and is
writable.
int agora_gaming_rtc.AudioRecordingConfiguration.recordingChannel |
The recorded audio channel. The following values are supported:
1
: (Default) Mono channel.2
: Dual channel.recordingChannel
is 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 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. Therefore, to record in stereo, contact technical
support for assistance.
AUDIO_RECORDING_POSITION agora_gaming_rtc.AudioRecordingConfiguration.recordingPosition |
Recording content. See AUDIO_RECORDING_POSITION.
AUDIO_RECORDING_QUALITY_TYPE agora_gaming_rtc.AudioRecordingConfiguration.recordingQuality |
Audio recording quality. See AUDIO_RECORDING_QUALITY_TYPE.
int agora_gaming_rtc.AudioRecordingConfiguration.recordingSampleRate |
Recording sample rate (Hz). The following values are supported:
recordingQuality
is
AUDIO_RECORDING_QUALITY_MEDIUM
or
AUDIO_RECORDING_QUALITY_HIGH
.