# StopRecordingAsync(OnStoppedRecordingVideoCallback)

> Asynchronously stops recording a video from the web camera to the file system.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Windows.WebCam](/engine/6000.7/script-reference/unityengine/windows/webcam.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public void StopRecordingAsync(VideoCapture.OnStoppedRecordingVideoCallback onStoppedRecordingVideoCallback)
```

### Parameters

**** (\[OnStoppedRecordingVideoCallback]\(/engine/6000.7/script-reference/unityengine/windows/webcam/videocapture/onstoppedrecordingvideocallback)): Invoked as soon as video recording has finished.

### Remarks

Call this method only after the callback passed to [VideoCapture.StartRecordingAsync](/engine/6000.7/script-reference/unityengine/windows/webcam/videocapture/startrecordingasync.md) reports a successful result. If the instance isn't recording, the operation results in an error and passes an unsuccessful result to the callback.
