Class: Google::Cloud::Video::LiveStream::V1::AudioStream
- Inherits:
-
Object
- Object
- Google::Cloud::Video::LiveStream::V1::AudioStream
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/video/livestream/v1/outputs.rb
Overview
Audio stream resource.
Defined Under Namespace
Classes: AudioMapping
Instance Attribute Summary collapse
-
#bitrate_bps ⇒ ::Integer
Required.
-
#channel_count ⇒ ::Integer
Number of audio channels.
-
#channel_layout ⇒ ::Array<::String>
A list of channel names specifying layout of the audio channels.
-
#codec ⇒ ::String
The codec for this audio stream.
-
#mapping ⇒ ::Array<::Google::Cloud::Video::LiveStream::V1::AudioStream::AudioMapping>
The mapping for the input streams and audio channels.
-
#sample_rate_hertz ⇒ ::Integer
The audio sample rate in Hertz.
-
#transmux ⇒ ::Boolean
Specifies whether pass through (transmuxing) is enabled or not.
Instance Attribute Details
#bitrate_bps ⇒ ::Integer
Returns Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 |
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 433 class AudioStream include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The mapping for the input streams and audio channels. # @!attribute [rw] input_key # @return [::String] # Required. The `Channel` # {::Google::Cloud::Video::LiveStream::V1::InputAttachment#key 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. # @!attribute [rw] input_track # @return [::Integer] # Required. The zero-based index of the track in the input stream. # All {::Google::Cloud::Video::LiveStream::V1::AudioStream#mapping mapping}s in # the same {::Google::Cloud::Video::LiveStream::V1::AudioStream AudioStream} must # have the same input track. # @!attribute [rw] input_channel # @return [::Integer] # Required. The zero-based index of the channel in the input stream. # @!attribute [rw] output_channel # @return [::Integer] # Required. The zero-based index of the channel in the output audio stream. # Must be consistent with the # {::Google::Cloud::Video::LiveStream::V1::AudioStream::AudioMapping#input_channel input_channel}. # @!attribute [rw] gain_db # @return [::Float] # Audio volume control in dB. Negative values decrease volume, # positive values increase. The default is 0. class AudioMapping include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#channel_count ⇒ ::Integer
Returns Number of audio channels. Must be between 1 and 6. The default is 2.
433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 |
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 433 class AudioStream include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The mapping for the input streams and audio channels. # @!attribute [rw] input_key # @return [::String] # Required. The `Channel` # {::Google::Cloud::Video::LiveStream::V1::InputAttachment#key 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. # @!attribute [rw] input_track # @return [::Integer] # Required. The zero-based index of the track in the input stream. # All {::Google::Cloud::Video::LiveStream::V1::AudioStream#mapping mapping}s in # the same {::Google::Cloud::Video::LiveStream::V1::AudioStream AudioStream} must # have the same input track. # @!attribute [rw] input_channel # @return [::Integer] # Required. The zero-based index of the channel in the input stream. # @!attribute [rw] output_channel # @return [::Integer] # Required. The zero-based index of the channel in the output audio stream. # Must be consistent with the # {::Google::Cloud::Video::LiveStream::V1::AudioStream::AudioMapping#input_channel input_channel}. # @!attribute [rw] gain_db # @return [::Float] # Audio volume control in dB. Negative values decrease volume, # positive values increase. The default is 0. class AudioMapping include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#channel_layout ⇒ ::Array<::String>
Returns A list of channel names specifying layout of the audio channels.
This only affects the metadata embedded in the container headers, if
supported by the specified format. The default is [fl, fr].
Supported channel names:
fl- Front left channelfr- Front right channelsl- Side left channelsr- Side right channelfc- Front center channellfe- Low frequency.
433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 |
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 433 class AudioStream include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The mapping for the input streams and audio channels. # @!attribute [rw] input_key # @return [::String] # Required. The `Channel` # {::Google::Cloud::Video::LiveStream::V1::InputAttachment#key 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. # @!attribute [rw] input_track # @return [::Integer] # Required. The zero-based index of the track in the input stream. # All {::Google::Cloud::Video::LiveStream::V1::AudioStream#mapping mapping}s in # the same {::Google::Cloud::Video::LiveStream::V1::AudioStream AudioStream} must # have the same input track. # @!attribute [rw] input_channel # @return [::Integer] # Required. The zero-based index of the channel in the input stream. # @!attribute [rw] output_channel # @return [::Integer] # Required. The zero-based index of the channel in the output audio stream. # Must be consistent with the # {::Google::Cloud::Video::LiveStream::V1::AudioStream::AudioMapping#input_channel input_channel}. # @!attribute [rw] gain_db # @return [::Float] # Audio volume control in dB. Negative values decrease volume, # positive values increase. The default is 0. class AudioMapping include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#codec ⇒ ::String
Returns The codec for this audio stream. The default is aac.
Supported audio codecs:
aac.
433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 |
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 433 class AudioStream include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The mapping for the input streams and audio channels. # @!attribute [rw] input_key # @return [::String] # Required. The `Channel` # {::Google::Cloud::Video::LiveStream::V1::InputAttachment#key 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. # @!attribute [rw] input_track # @return [::Integer] # Required. The zero-based index of the track in the input stream. # All {::Google::Cloud::Video::LiveStream::V1::AudioStream#mapping mapping}s in # the same {::Google::Cloud::Video::LiveStream::V1::AudioStream AudioStream} must # have the same input track. # @!attribute [rw] input_channel # @return [::Integer] # Required. The zero-based index of the channel in the input stream. # @!attribute [rw] output_channel # @return [::Integer] # Required. The zero-based index of the channel in the output audio stream. # Must be consistent with the # {::Google::Cloud::Video::LiveStream::V1::AudioStream::AudioMapping#input_channel input_channel}. # @!attribute [rw] gain_db # @return [::Float] # Audio volume control in dB. Negative values decrease volume, # positive values increase. The default is 0. class AudioMapping include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#mapping ⇒ ::Array<::Google::Cloud::Video::LiveStream::V1::AudioStream::AudioMapping>
Returns The mapping for the input streams and audio channels.
433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 |
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 433 class AudioStream include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The mapping for the input streams and audio channels. # @!attribute [rw] input_key # @return [::String] # Required. The `Channel` # {::Google::Cloud::Video::LiveStream::V1::InputAttachment#key 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. # @!attribute [rw] input_track # @return [::Integer] # Required. The zero-based index of the track in the input stream. # All {::Google::Cloud::Video::LiveStream::V1::AudioStream#mapping mapping}s in # the same {::Google::Cloud::Video::LiveStream::V1::AudioStream AudioStream} must # have the same input track. # @!attribute [rw] input_channel # @return [::Integer] # Required. The zero-based index of the channel in the input stream. # @!attribute [rw] output_channel # @return [::Integer] # Required. The zero-based index of the channel in the output audio stream. # Must be consistent with the # {::Google::Cloud::Video::LiveStream::V1::AudioStream::AudioMapping#input_channel input_channel}. # @!attribute [rw] gain_db # @return [::Float] # Audio volume control in dB. Negative values decrease volume, # positive values increase. The default is 0. class AudioMapping include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#sample_rate_hertz ⇒ ::Integer
Returns The audio sample rate in Hertz. The default is 48000 Hertz.
433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 |
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 433 class AudioStream include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The mapping for the input streams and audio channels. # @!attribute [rw] input_key # @return [::String] # Required. The `Channel` # {::Google::Cloud::Video::LiveStream::V1::InputAttachment#key 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. # @!attribute [rw] input_track # @return [::Integer] # Required. The zero-based index of the track in the input stream. # All {::Google::Cloud::Video::LiveStream::V1::AudioStream#mapping mapping}s in # the same {::Google::Cloud::Video::LiveStream::V1::AudioStream AudioStream} must # have the same input track. # @!attribute [rw] input_channel # @return [::Integer] # Required. The zero-based index of the channel in the input stream. # @!attribute [rw] output_channel # @return [::Integer] # Required. The zero-based index of the channel in the output audio stream. # Must be consistent with the # {::Google::Cloud::Video::LiveStream::V1::AudioStream::AudioMapping#input_channel input_channel}. # @!attribute [rw] gain_db # @return [::Float] # Audio volume control in dB. Negative values decrease volume, # positive values increase. The default is 0. class AudioMapping include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#transmux ⇒ ::Boolean
Returns Specifies whether pass through (transmuxing) is enabled or not.
If set to true, the rest of the settings, other than mapping, will be
ignored. The default is false.
433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 |
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 433 class AudioStream include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The mapping for the input streams and audio channels. # @!attribute [rw] input_key # @return [::String] # Required. The `Channel` # {::Google::Cloud::Video::LiveStream::V1::InputAttachment#key 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. # @!attribute [rw] input_track # @return [::Integer] # Required. The zero-based index of the track in the input stream. # All {::Google::Cloud::Video::LiveStream::V1::AudioStream#mapping mapping}s in # the same {::Google::Cloud::Video::LiveStream::V1::AudioStream AudioStream} must # have the same input track. # @!attribute [rw] input_channel # @return [::Integer] # Required. The zero-based index of the channel in the input stream. # @!attribute [rw] output_channel # @return [::Integer] # Required. The zero-based index of the channel in the output audio stream. # Must be consistent with the # {::Google::Cloud::Video::LiveStream::V1::AudioStream::AudioMapping#input_channel input_channel}. # @!attribute [rw] gain_db # @return [::Float] # Audio volume control in dB. Negative values decrease volume, # positive values increase. The default is 0. class AudioMapping include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |