startStream method
Starts stream recording and returns the stream.
When stopping the record, you must rely on stream close event to get full recorded data.
Implementation
Future<Stream<Uint8List>> startStream(RecordConfig config) async {
final stream = await _safeCall(
() async {
await _stopRecordStream();
_initStateStream();
return _platform.startStream(_recorderId, config);
},
);
return _startRecordStream(stream);
}