Google Cloud Video Live Stream V1 Client - Class InputConfig (0.5.0)

Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class InputConfig.

Configuration for the input sources of a channel.

Generated from protobuf message google.cloud.video.livestream.v1.InputConfig

Namespace

Google \ Cloud \ Video \ LiveStream \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ input_switch_mode int

Input switch mode. Default mode is FAILOVER_PREFER_PRIMARY.

getInputSwitchMode

Input switch mode. Default mode is FAILOVER_PREFER_PRIMARY.

Returns
TypeDescription
int

setInputSwitchMode

Input switch mode. Default mode is FAILOVER_PREFER_PRIMARY.

Parameter
NameDescription
var int
Returns
TypeDescription
$this