RecorderStream class

Constructors

RecorderStream()
factory

Properties

audioStream Stream<Uint8List>
Stream of PCM 16bit data from Microphone
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status Stream<SoundStreamStatus>
Current status of the RecorderStream
no setter

Methods

dispose() → void
Stop and close all streams. This cannot be undone Only call this method if you don't want to use this anymore
initialize({int sampleRate = 16000, bool showLogs = false}) Future
Initialize Recorder with specified sampleRate
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start() Future
Start recording. Recorder will start pushing audio chunks (PCM 16bit data) to audiostream as Uint8List
stop() Future
Recorder will stop recording and sending audio chunks to the audioStream.
toString() String
A string representation of this object.
inherited

Operators

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