The τ Recorder API

stopRecorder()

stopRecorder()

Use this verb to stop a record. This verb never throws any exception. It is safe to call it everywhere, for example when the App is not sure of the current Audio State and want to recover a clean reset state.

Example:

Dart

Javascript


        await myRecorder.stopRecorder();
        if (_recorderSubscription != null)
        {
                _recorderSubscription.cancel();
                _recorderSubscription = null;
        }

        Lorem ipsum ...

</div>

Last updated

Was this helpful?