# Live Stream v1 API - Enum InputConfig.Types.InputSwitchMode (1.11.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.11.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.InputConfig.Types.InputSwitchMode)
- [1.10.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.10.0/Google.Cloud.Video.LiveStream.V1.InputConfig.Types.InputSwitchMode)
- [1.9.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.9.0/Google.Cloud.Video.LiveStream.V1.InputConfig.Types.InputSwitchMode)
- [1.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.8.0/Google.Cloud.Video.LiveStream.V1.InputConfig.Types.InputSwitchMode)
- [1.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.7.0/Google.Cloud.Video.LiveStream.V1.InputConfig.Types.InputSwitchMode)
- [1.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.6.0/Google.Cloud.Video.LiveStream.V1.InputConfig.Types.InputSwitchMode)
- [1.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.5.0/Google.Cloud.Video.LiveStream.V1.InputConfig.Types.InputSwitchMode)
- [1.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.4.0/Google.Cloud.Video.LiveStream.V1.InputConfig.Types.InputSwitchMode)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.3.0/Google.Cloud.Video.LiveStream.V1.InputConfig.Types.InputSwitchMode)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.2.0/Google.Cloud.Video.LiveStream.V1.InputConfig.Types.InputSwitchMode)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.1.0/Google.Cloud.Video.LiveStream.V1.InputConfig.Types.InputSwitchMode)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.0.0/Google.Cloud.Video.LiveStream.V1.InputConfig.Types.InputSwitchMode)

    public enum InputConfig.Types.InputSwitchMode

Reference documentation and code samples for the Live Stream v1 API enum InputConfig.Types.InputSwitchMode.

Input switch mode.

## Namespace

[Google.Cloud.Video.LiveStream.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1)

## Assembly

Google.Cloud.Video.LiveStream.V1.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `FailoverPreferPrimary` | Automatic failover is enabled. The primary input stream is always preferred over its backup input streams configured using the \[AutomaticFailover\]\[google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover\] field. |
| `Manual` | Automatic failover is disabled. You must use the \[inputSwitch\]\[google.cloud.video.livestream.v1.Event.input_switch\] event to switch the active input source for the channel to stream from. When this mode is chosen, the \[AutomaticFailover\]\[google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover\] field is ignored. |
| `Unspecified` | The input switch mode is not specified. |