Reference documentation and code samples for the Transcoder V1 API class Google::Cloud::Video::Transcoder::V1::TextStream.
Encoding of a text stream. For example, closed captions or subtitles.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#codec
def codec() -> ::String
    Returns
    
  - 
        (::String) — The codec for this text stream. The default is webvtt.Supported text codecs: - srt
- ttml
- cea608
- cea708
- webvtt
 
#codec=
def codec=(value) -> ::String
    Parameter
    
  - 
        value (::String) — The codec for this text stream. The default is webvtt.Supported text codecs: - srt
- ttml
- cea608
- cea708
- webvtt
 
    Returns
    
  - 
        (::String) — The codec for this text stream. The default is webvtt.Supported text codecs: - srt
- ttml
- cea608
- cea708
- webvtt
 
#display_name
def display_name() -> ::String
    Returns
    
  - (::String) — The name for this particular text stream that will be added to the HLS/DASH manifest. Not supported in MP4 files.
#display_name=
def display_name=(value) -> ::String
    Parameter
    
  - value (::String) — The name for this particular text stream that will be added to the HLS/DASH manifest. Not supported in MP4 files.
    Returns
    
  - (::String) — The name for this particular text stream that will be added to the HLS/DASH manifest. Not supported in MP4 files.
#language_code
def language_code() -> ::String
    Returns
    
  - 
        (::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
    Parameter
    
  - 
        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.
    Returns
    
  - 
        (::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::TextStream::TextMapping>
    Returns
    
  - 
        (::Array<::Google::Cloud::Video::Transcoder::V1::TextStream::TextMapping>) — The mapping for the Job.edit_listatoms with textEditAtom.inputs.
#mapping=
def mapping=(value) -> ::Array<::Google::Cloud::Video::Transcoder::V1::TextStream::TextMapping>
    Parameter
    
  - 
        value (::Array<::Google::Cloud::Video::Transcoder::V1::TextStream::TextMapping>) — The mapping for the Job.edit_listatoms with textEditAtom.inputs.
    Returns
    
- 
        (::Array<::Google::Cloud::Video::Transcoder::V1::TextStream::TextMapping>) — The mapping for the Job.edit_listatoms with textEditAtom.inputs.