You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I stop the audio recording I expect to receive the total duration of the recorded audio in the duration parameter of the result. var result = await this.audioRecorder.stop();
But the duration of the result is always 0.
Currently, a workaround for this would be this:
Recording recording = await this.audioRecorder.current();
Duration duration = recording.duration;
var result = await this.audioRecorder.stop();
Which is probably not that accurate since it is a little bit before actually stopping the recorder.
Could you provide the correct duration in the result of stop() method as well?
The text was updated successfully, but these errors were encountered:
Hi there,
When I stop the audio recording I expect to receive the total duration of the recorded audio in the
duration
parameter of the result.var result = await this.audioRecorder.stop();
But the
duration
of the result is always 0.Currently, a workaround for this would be this:
Which is probably not that accurate since it is a little bit before actually stopping the recorder.
Could you provide the correct duration in the result of stop() method as well?
The text was updated successfully, but these errors were encountered: