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

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

Audio stream resource.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#bitrate_bps

def bitrate_bps() -> ::Integer
Returns
  • (::Integer) — Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.

#bitrate_bps=

def bitrate_bps=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
Returns
  • (::Integer) — Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.

#channel_count

def channel_count() -> ::Integer
Returns
  • (::Integer) — Number of audio channels. Must be between 1 and 6. The default is 2.

#channel_count=

def channel_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Number of audio channels. Must be between 1 and 6. The default is 2.
Returns
  • (::Integer) — Number of audio channels. Must be between 1 and 6. The default is 2.

#channel_layout

def channel_layout() -> ::Array<::String>
Returns
  • (::Array<::String>) —

    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 channel
    • fr - Front right channel
    • sl - Side left channel
    • sr - Side right channel
    • fc - Front center channel
    • lfe - Low frequency

#channel_layout=

def channel_layout=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) —

    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 channel
    • fr - Front right channel
    • sl - Side left channel
    • sr - Side right channel
    • fc - Front center channel
    • lfe - Low frequency
Returns
  • (::Array<::String>) —

    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 channel
    • fr - Front right channel
    • sl - Side left channel
    • sr - Side right channel
    • fc - Front center channel
    • lfe - Low frequency

#codec

def codec() -> ::String
Returns
  • (::String) —

    The codec for this audio stream. The default is aac.

    Supported audio codecs:

    • aac

#codec=

def codec=(value) -> ::String
Parameter
  • value (::String) —

    The codec for this audio stream. The default is aac.

    Supported audio codecs:

    • aac
Returns
  • (::String) —

    The codec for this audio stream. The default is aac.

    Supported audio codecs:

    • aac

#mapping

def mapping() -> ::Array<::Google::Cloud::Video::LiveStream::V1::AudioStream::AudioMapping>
Returns

#mapping=

def mapping=(value) -> ::Array<::Google::Cloud::Video::LiveStream::V1::AudioStream::AudioMapping>
Parameter
Returns

#sample_rate_hertz

def sample_rate_hertz() -> ::Integer
Returns
  • (::Integer) — The audio sample rate in Hertz. The default is 48000 Hertz.

#sample_rate_hertz=

def sample_rate_hertz=(value) -> ::Integer
Parameter
  • value (::Integer) — The audio sample rate in Hertz. The default is 48000 Hertz.
Returns
  • (::Integer) — The audio sample rate in Hertz. The default is 48000 Hertz.

#transmux

def transmux() -> ::Boolean
Returns
  • (::Boolean) — 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.

#transmux=

def transmux=(value) -> ::Boolean
Parameter
  • value (::Boolean) — 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.
Returns
  • (::Boolean) — 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.