pub struct MuxStream {
    pub container: Option<String>,
    pub elementary_streams: Option<Vec<String>>,
    pub encryption: Option<Encryption>,
    pub file_name: Option<String>,
    pub key: Option<String>,
    pub segment_settings: Option<SegmentSettings>,
}
Expand description

Multiplexing settings for output stream.

This type is not used in any activity, and only used as part of another schema.

Fields

container: Option<String>

The container format. The default is "mp4" Supported container formats: - ‘ts’ - ‘fmp4’- the corresponding file extension is ".m4s" - ‘mp4’ - ‘vtt’

elementary_streams: Option<Vec<String>>

List of ElementaryStream.keys multiplexed in this stream.

encryption: Option<Encryption>

Encryption settings.

file_name: Option<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".

key: Option<String>

A unique key for this multiplexed stream. HLS media manifests will be named MuxStream.key with the ".m3u8" extension suffix.

segment_settings: Option<SegmentSettings>

Segment settings for "ts", "fmp4" and "vtt".

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more