stop
Deprecated
Use the `cancel` function instead to trigger the session to end
Stop the CaptureSession This will stop the process and trigger any recording in progress to finish and process.
DEPRECATED: it is recommended to instead use the cancel
function to programmatically trigger a session to end