Stops the recorder that has been startes by using the start method.
Signature
stop ()
Returns
This method returns a promise object to confirm
that the operation completed successfully. The promise can be rejected if the recorder is in
illegal state (stopped, invalidated), or when any other issue occurs.