Live Stream V1 API - Class Google::Cloud::Video::LiveStream::V1::AudioStream::AudioMapping (v0.3.0)

Reference documentation and code samples for the Live Stream V1 API class Google::Cloud::Video::LiveStream::V1::AudioStream::AudioMapping.

The mapping for the input streams and audio channels.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#input_channel

def input_channel() -> ::Integer
Returns
  • (::Integer) — Required. The zero-based index of the channel in the input stream.

#input_channel=

def input_channel=(value) -> ::Integer
Parameter
  • value (::Integer) — 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.

#input_key

def input_key() -> ::String
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.

#input_key=

def input_key=(value) -> ::String
Parameter
  • value (::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.
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.

#input_track

def input_track() -> ::Integer
Returns
  • (::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 AudioStream must have the same input track.

#input_track=

def input_track=(value) -> ::Integer
Parameter
  • value (::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 AudioStream must have the same input track.
Returns
  • (::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 AudioStream must have the same input track.

#output_channel

def output_channel() -> ::Integer
Returns
  • (::Integer) — Required. The zero-based index of the channel in the output audio stream. Must be consistent with the input_channel.

#output_channel=

def output_channel=(value) -> ::Integer
Parameter
  • value (::Integer) — 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.