flutter_sound
flutter_sound copied to clipboard
onProgress returning zero duration on IOS
recorderSubscription = recordingSession.onProgress.listen((e) {
var date = DateTime.fromMillisecondsSinceEpoch(e.duration.inMilliseconds, isUtc: true);
if (date.second < 30) {
var timeText = DateFormat('mm:ss:SS').format(date);
setState(() {
timerText = timeText.substring(0, 8);
isRecording = true;
});
} else {
stopRecording();
}
});
Duplicate of #881? Is an audio file actually captured?
This issue is stale because it has been open 90 days with no activity. Leave a comment or this will be closed in 7 days.