class Google::Apis::TranscoderV1beta1::MuxStream

Multiplexing settings for output stream.

Attributes

container[RW]

The container format. The default is `“mp4”` Supported container formats: - ' ts' - 'fmp4'- the corresponding file extension is `“.m4s”` - 'mp4' - 'vtt' Corresponds to the JSON property `container` @return [String]

elementary_streams[RW]

List of `ElementaryStream.key`s multiplexed in this stream. Corresponds to the JSON property `elementaryStreams` @return [Array<String>]

encryption[RW]

Encryption settings. Corresponds to the JSON property `encryption` @return [Google::Apis::TranscoderV1beta1::Encryption]

file_name[RW]

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]

key[RW]

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[RW]

Segment settings for `“ts”`, `“fmp4”` and `“vtt”`. Corresponds to the JSON property `segmentSettings` @return [Google::Apis::TranscoderV1beta1::SegmentSettings]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/transcoder_v1beta1/classes.rb, line 1084
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/transcoder_v1beta1/classes.rb, line 1089
def update!(**args)
  @container = args[:container] if args.key?(:container)
  @elementary_streams = args[:elementary_streams] if args.key?(:elementary_streams)
  @encryption = args[:encryption] if args.key?(:encryption)
  @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