AudioRecordingConfiguration class

Recording configuration, which is set in RtcEngine.startAudioRecordingWithConfig.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

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

Properties

filePath String
The absolute path (including the filename extensions) of the recording file. For example: /sdcard/emulated/0/audio.mp4 on Android and /var/mobile/Containers/Data/audio.mp4 on iOS. Ensure that the path you specify exists and is writable.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
recordingPosition AudioRecordingPosition?
Recording content. For details, see AudioRecordingPosition.
getter/setter pair
recordingQuality AudioRecordingQuality?
Audio recording quality. For details, see AudioRecordingQuality. This parameter applies to AAC files only.
getter/setter pair
recordingSampleRate AudioSampleRateType?
Recording sample rate (Hz). The following values are supported:
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