Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class InputSwitchMode.
Input switch mode.
Protobuf type google.cloud.video.livestream.v1.InputConfig.InputSwitchMode
Namespace
Google \ Cloud \ Video \ LiveStream \ V1 \ InputConfigMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
INPUT_SWITCH_MODE_UNSPECIFIED
Value: 0
The input switch mode is not specified.
Generated from protobuf enum INPUT_SWITCH_MODE_UNSPECIFIED = 0;
FAILOVER_PREFER_PRIMARY
Value: 1
Automatic failover is enabled. The primary input stream is always preferred over its backup input streams configured using the AutomaticFailover field.
Generated from protobuf enum FAILOVER_PREFER_PRIMARY = 1;
MANUAL
Value: 3
Automatic failover is disabled. You must use the inputSwitch event to switch the active input source for the channel to stream from. When this mode is chosen, the AutomaticFailover field is ignored.
Generated from protobuf enum MANUAL = 3;