Reference documentation and code samples for the Transcoder V1 API class Google::Cloud::Video::Transcoder::V1::AudioStream.
Audio stream resource.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#bitrate_bps
def bitrate_bps() -> ::Integer- (::Integer) — Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
#bitrate_bps=
def bitrate_bps=(value) -> ::Integer- value (::Integer) — Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
- (::Integer) — Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
#channel_count
def channel_count() -> ::Integer- (::Integer) — Number of audio channels. Must be between 1 and 6. The default is 2.
#channel_count=
def channel_count=(value) -> ::Integer- value (::Integer) — Number of audio channels. Must be between 1 and 6. The default is 2.
- (::Integer) — Number of audio channels. Must be between 1 and 6. The default is 2.
#channel_layout
def channel_layout() -> ::Array<::String>-
(::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 channelfr- Front right channelsl- Side left channelsr- Side right channelfc- Front center channellfe- Low frequency
#channel_layout=
def channel_layout=(value) -> ::Array<::String>-
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 channelfr- Front right channelsl- Side left channelsr- Side right channelfc- Front center channellfe- Low frequency
-
(::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 channelfr- Front right channelsl- Side left channelsr- Side right channelfc- Front center channellfe- Low frequency
#codec
def codec() -> ::String-
(::String) —
The codec for this audio stream. The default is
aac.Supported audio codecs:
aacaac-heaac-he-v2mp3ac3eac3
#codec=
def codec=(value) -> ::String-
value (::String) —
The codec for this audio stream. The default is
aac.Supported audio codecs:
aacaac-heaac-he-v2mp3ac3eac3
-
(::String) —
The codec for this audio stream. The default is
aac.Supported audio codecs:
aacaac-heaac-he-v2mp3ac3eac3
#display_name
def display_name() -> ::String- (::String) — The name for this particular audio stream that will be added to the HLS/DASH manifest. Not supported in MP4 files.
#display_name=
def display_name=(value) -> ::String- value (::String) — The name for this particular audio stream that will be added to the HLS/DASH manifest. Not supported in MP4 files.
- (::String) — The name for this particular audio stream that will be added to the HLS/DASH manifest. Not supported in MP4 files.
#language_code
def language_code() -> ::String-
(::String) — The BCP-47 language code, such as
en-USorsr-Latn. For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. Not supported in MP4 files.
#language_code=
def language_code=(value) -> ::String-
value (::String) — The BCP-47 language code, such as
en-USorsr-Latn. For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. Not supported in MP4 files.
-
(::String) — The BCP-47 language code, such as
en-USorsr-Latn. For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. Not supported in MP4 files.
#mapping
def mapping() -> ::Array<::Google::Cloud::Video::Transcoder::V1::AudioStream::AudioMapping>-
(::Array<::Google::Cloud::Video::Transcoder::V1::AudioStream::AudioMapping>) — The mapping for the
Job.edit_listatoms with audioEditAtom.inputs.
#mapping=
def mapping=(value) -> ::Array<::Google::Cloud::Video::Transcoder::V1::AudioStream::AudioMapping>-
value (::Array<::Google::Cloud::Video::Transcoder::V1::AudioStream::AudioMapping>) — The mapping for the
Job.edit_listatoms with audioEditAtom.inputs.
-
(::Array<::Google::Cloud::Video::Transcoder::V1::AudioStream::AudioMapping>) — The mapping for the
Job.edit_listatoms with audioEditAtom.inputs.
#sample_rate_hertz
def sample_rate_hertz() -> ::Integer- (::Integer) — The audio sample rate in Hertz. The default is 48000 Hertz.
#sample_rate_hertz=
def sample_rate_hertz=(value) -> ::Integer- value (::Integer) — The audio sample rate in Hertz. The default is 48000 Hertz.
- (::Integer) — The audio sample rate in Hertz. The default is 48000 Hertz.