# StartVideoModeAsync(CameraParameters, AudioState, OnVideoModeStartedCallback)

> Asynchronously starts video mode.

## Definition

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

```csharp
public void StartVideoModeAsync(CameraParameters setupParams, VideoCapture.AudioState audioState, VideoCapture.OnVideoModeStartedCallback onVideoModeStartedCallback)
```

### Parameters

**** (\[CameraParameters]\(/engine/6000.7/script-reference/unityengine/windows/webcam/cameraparameters)): The various settings that should be applied to the web camera.**** (\[AudioState]\(/engine/6000.7/script-reference/unityengine/windows/webcam/videocapture/audiostate)): Indicates how audio should be recorded.**** (\[OnVideoModeStartedCallback]\(/engine/6000.7/script-reference/unityengine/windows/webcam/videocapture/onvideomodestartedcallback)): This callback will be invoked once video mode has been activated.

### Remarks

Activates the web camera with the settings specified in [CameraParameters](/engine/6000.7/script-reference/unityengine/windows/webcam/cameraparameters.md). Only one VideoCapture instance can start the video mode at any given time. After starting the video mode, you can record videos via [VideoCapture.StartRecordingAsync](/engine/6000.7/script-reference/unityengine/windows/webcam/videocapture/startrecordingasync.md). Video mode can impact performance, so  make sure to call [VideoCapture.StopVideoModeAsync](/engine/6000.7/script-reference/unityengine/windows/webcam/videocapture/stopvideomodeasync.md) when you are done recording.
