Class InputConfig (1.7.3)

InputConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration for the input sources of a channel.

Attribute

Name Description
input_switch_mode google.cloud.video.live_stream_v1.types.InputConfig.InputSwitchMode
Input switch mode. Default mode is FAILOVER_PREFER_PRIMARY.

Classes

InputSwitchMode

InputSwitchMode(value)

Input switch mode.

Values: INPUT_SWITCH_MODE_UNSPECIFIED (0): The input switch mode is not specified. FAILOVER_PREFER_PRIMARY (1): Automatic failover is enabled. The primary input stream is always preferred over its backup input streams configured using the AutomaticFailover field. MANUAL (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.