Class: Google::Cloud::Video::LiveStream::V1::InputConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/video/livestream/v1/resources.rb

Overview

Configuration for the input sources of a channel.

Defined Under Namespace

Modules: InputSwitchMode

Instance Attribute Summary collapse

Instance Attribute Details

#input_switch_mode::Google::Cloud::Video::LiveStream::V1::InputConfig::InputSwitchMode

Returns Input switch mode. Default mode is FAILOVER_PREFER_PRIMARY.

Returns:



311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 311

class InputConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Input switch mode.
  module InputSwitchMode
    # The input switch mode is not specified.
    INPUT_SWITCH_MODE_UNSPECIFIED = 0

    # Automatic failover is enabled. The primary input stream is always
    # preferred over its backup input streams configured using the
    # {::Google::Cloud::Video::LiveStream::V1::InputAttachment::AutomaticFailover AutomaticFailover}
    # field.
    FAILOVER_PREFER_PRIMARY = 1

    # Automatic failover is disabled. You must use the
    # {::Google::Cloud::Video::LiveStream::V1::Event#input_switch inputSwitch} event
    # to switch the active input source for the channel to stream from. When
    # this mode is chosen, the
    # {::Google::Cloud::Video::LiveStream::V1::InputAttachment::AutomaticFailover AutomaticFailover}
    # field is ignored.
    MANUAL = 3
  end
end