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



329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 329

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