AudioRecordingConfiguration class

The configuration of audio recording on the app client.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

AudioRecordingConfiguration(String filePath, {AudioRecordingQuality? recordingQuality, AudioRecordingPosition? recordingPosition, AudioSampleRateType? recordingSampleRate})
Constructs the AudioRecordingConfiguration.

Properties

filePath String
The absolute path (including the filename extensions) of the recording file. For example: C:\music\audio.aac . Ensure that the directory for the log files exists and is writable.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
recordingPosition AudioRecordingPosition?
The recording content.
getter/setter pair
recordingQuality AudioRecordingQuality?
Recording quality. Note: This parameter applies to AAC files only.
getter/setter pair
recordingSampleRate AudioSampleRateType?
Recording sample rate (Hz). 16000 (Default) 32000 44100 48000 If you set this parameter as 44100 or 48000, Agora recommends recording WAV files or AAV files whose recordingQuality is Medium or High for better recording quality.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited