Google Cloud Video Live Stream V1 Client - Class InputSwitchMode (0.3.2)

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

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
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;