Reference documentation and code samples for the Live Stream V1 API class Google::Cloud::Video::LiveStream::V1::TextStream::TextMapping.
The mapping for the input streams and text tracks.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#from_language_code
def from_language_code() -> ::String
Returns
-
(::String) — Optional. The BCP-47 source language code, such as
en-US
orsr-Latn
. If differ from the textStream's language code, enable translation. For more information on BCP-47 language codes, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
#from_language_code=
def from_language_code=(value) -> ::String
Parameter
-
value (::String) — Optional. The BCP-47 source language code, such as
en-US
orsr-Latn
. If differ from the textStream's language code, enable translation. For more information on BCP-47 language codes, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
Returns
-
(::String) — Optional. The BCP-47 source language code, such as
en-US
orsr-Latn
. If differ from the textStream's language code, enable translation. For more information on BCP-47 language codes, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
#input_cea_channel
def input_cea_channel() -> ::String
Returns
-
(::String) — Optional. The channel of the closed caption in the input stream.
If this field is set, the output
codec must be
webvtt
. Must be one ofCC1
,CC2
,CC3
, andCC4
, if the codec of the input closed caption iscea608
; Must be one betweenSERVICE1
andSERVICE64
, if the codec of the input closed caption iscea708
.
#input_cea_channel=
def input_cea_channel=(value) -> ::String
Parameter
-
value (::String) — Optional. The channel of the closed caption in the input stream.
If this field is set, the output
codec must be
webvtt
. Must be one ofCC1
,CC2
,CC3
, andCC4
, if the codec of the input closed caption iscea608
; Must be one betweenSERVICE1
andSERVICE64
, if the codec of the input closed caption iscea708
.
Returns
-
(::String) — Optional. The channel of the closed caption in the input stream.
If this field is set, the output
codec must be
webvtt
. Must be one ofCC1
,CC2
,CC3
, andCC4
, if the codec of the input closed caption iscea608
; Must be one betweenSERVICE1
andSERVICE64
, if the codec of the input closed caption iscea708
.
#input_key
def input_key() -> ::String
Returns
-
(::String) — Optional. The
Channel
InputAttachment.key that identifies the input that this text mapping applies to.
#input_key=
def input_key=(value) -> ::String
Parameter
-
value (::String) — Optional. The
Channel
InputAttachment.key that identifies the input that this text mapping applies to.
Returns
-
(::String) — Optional. The
Channel
InputAttachment.key that identifies the input that this text mapping applies to.
#input_track
def input_track() -> ::Integer
Returns
- (::Integer) — Optional. The zero-based index of the track in the input stream.
#input_track=
def input_track=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. The zero-based index of the track in the input stream.
Returns
- (::Integer) — Optional. The zero-based index of the track in the input stream.