Class: Google::Apis::TranscoderV1::MuxStream
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1::MuxStream
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/transcoder_v1/classes.rb,
lib/google/apis/transcoder_v1/representations.rb,
lib/google/apis/transcoder_v1/representations.rb
Overview
Multiplexing settings for output stream.
Instance Attribute Summary collapse
-
#container ⇒ String
The container format.
-
#elementary_streams ⇒ Array<String>
List of
ElementaryStream.keys multiplexed in this stream. -
#file_name ⇒ String
The name of the generated file.
-
#key ⇒ String
A unique key for this multiplexed stream.
-
#segment_settings ⇒ Google::Apis::TranscoderV1::SegmentSettings
Segment settings for
ts,fmp4andvtt.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MuxStream
constructor
A new instance of MuxStream.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MuxStream
Returns a new instance of MuxStream.
1272 1273 1274 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1272 def initialize(**args) update!(**args) end |
Instance Attribute Details
#container ⇒ String
The container format. The default is mp4 Supported container formats: - ts
fmp4- the corresponding file extension is.m4s-mp4-vttCorresponds to the JSON propertycontainer
1246 1247 1248 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1246 def container @container end |
#elementary_streams ⇒ Array<String>
List of ElementaryStream.keys multiplexed in this stream.
Corresponds to the JSON property elementaryStreams
1251 1252 1253 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1251 def elementary_streams @elementary_streams end |
#file_name ⇒ String
The name of the generated file. The default is MuxStream.key with the
extension suffix corresponding to the MuxStream.container. Individual
segments also have an incremental 10-digit zero-padded suffix starting from 0
before the extension, such as mux_stream0000000123.ts.
Corresponds to the JSON property fileName
1259 1260 1261 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1259 def file_name @file_name end |
#key ⇒ String
A unique key for this multiplexed stream. HLS media manifests will be named
MuxStream.key with the .m3u8 extension suffix.
Corresponds to the JSON property key
1265 1266 1267 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1265 def key @key end |
#segment_settings ⇒ Google::Apis::TranscoderV1::SegmentSettings
Segment settings for ts, fmp4 and vtt.
Corresponds to the JSON property segmentSettings
1270 1271 1272 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1270 def segment_settings @segment_settings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1277 1278 1279 1280 1281 1282 1283 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1277 def update!(**args) @container = args[:container] if args.key?(:container) @elementary_streams = args[:elementary_streams] if args.key?(:elementary_streams) @file_name = args[:file_name] if args.key?(:file_name) @key = args[:key] if args.key?(:key) @segment_settings = args[:segment_settings] if args.key?(:segment_settings) end |