class Google::Apis::TranscoderV1::MuxStream
Multiplexing settings for output stream.
Attributes
The container format. The default is ‘mp4` Supported container formats: - `ts`
-
‘fmp4`- the corresponding file extension is `.m4s` - `mp4` - `vtt` See also:
[Supported input and output formats](cloud.google.com/transcoder/docs/ concepts/supported-input-and-output-formats) Corresponds to the JSON property ‘container` @return [String]
List of ‘ElementaryStream.key`s multiplexed in this stream. Corresponds to the JSON property `elementaryStreams` @return [Array<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` @return [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` @return [String]
Segment settings for ‘ts`, `fmp4` and `vtt`. Corresponds to the JSON property `segmentSettings` @return [Google::Apis::TranscoderV1::SegmentSettings]
Public Class Methods
# File lib/google/apis/transcoder_v1/classes.rb, line 1284 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/transcoder_v1/classes.rb, line 1289 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