Class: Google::Cloud::Video::LiveStream::V1::AudioStream::AudioMapping

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

Overview

The mapping for the input streams and audio channels.

Instance Attribute Summary collapse

Instance Attribute Details

#gain_db::Float

Returns Audio volume control in dB. Negative values decrease volume, positive values increase. The default is 0.

Returns:

  • (::Float)

    Audio volume control in dB. Negative values decrease volume, positive values increase. The default is 0.



453
454
455
456
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 453

class AudioMapping
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#input_channel::Integer

Returns Required. The zero-based index of the channel in the input stream.

Returns:

  • (::Integer)

    Required. The zero-based index of the channel in the input stream.



453
454
455
456
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 453

class AudioMapping
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#input_key::String

Returns Required. The Channel InputAttachment.key that identifies the input that this audio mapping applies to. If an active input doesn't have an audio mapping, the primary audio track in the input stream will be selected.

Returns:

  • (::String)

    Required. The Channel InputAttachment.key that identifies the input that this audio mapping applies to. If an active input doesn't have an audio mapping, the primary audio track in the input stream will be selected.



453
454
455
456
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 453

class AudioMapping
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#input_track::Integer

Returns Required. The zero-based index of the track in the input stream. All mappings in the same AudioStream must have the same input track.

Returns:

  • (::Integer)

    Required. The zero-based index of the track in the input stream. All mappings in the same AudioStream must have the same input track.



453
454
455
456
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 453

class AudioMapping
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#output_channel::Integer

Returns Required. The zero-based index of the channel in the output audio stream. Must be consistent with the input_channel.

Returns:

  • (::Integer)

    Required. The zero-based index of the channel in the output audio stream. Must be consistent with the input_channel.



453
454
455
456
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 453

class AudioMapping
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end