Class: Google::Cloud::Video::LiveStream::V1::TextStream::TextMapping
- Inherits:
-
Object
- Object
- Google::Cloud::Video::LiveStream::V1::TextStream::TextMapping
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/video/livestream/v1/outputs.rb
Overview
The mapping for the input streams and text tracks.
Instance Attribute Summary collapse
-
#from_language_code ⇒ ::String
Optional.
-
#input_cea_channel ⇒ ::String
Optional.
-
#input_key ⇒ ::String
Optional.
-
#input_track ⇒ ::Integer
Optional.
Instance Attribute Details
#from_language_code ⇒ ::String
Returns Optional. The BCP-47 source language code, such as en-US or sr-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.
729 730 731 732 |
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 729 class TextMapping include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#input_cea_channel ⇒ ::String
Returns 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 of CC1, CC2, CC3, and CC4, if the codec of
the input closed caption is cea608; Must be one between SERVICE1 and
SERVICE64, if the codec of the input closed caption is cea708.
729 730 731 732 |
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 729 class TextMapping include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#input_key ⇒ ::String
Returns Optional. The Channel
InputAttachment.key
that identifies the input that this text mapping applies to.
729 730 731 732 |
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 729 class TextMapping include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#input_track ⇒ ::Integer
Returns Optional. The zero-based index of the track in the input stream.
729 730 731 732 |
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 729 class TextMapping include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |