logo
pub struct M3u8Settings {
Show 17 fields pub audio_frames_per_pes: Option<i64>, pub audio_pids: Option<String>, pub ecm_pid: Option<String>, pub nielsen_id_3_behavior: Option<String>, pub pat_interval: Option<i64>, pub pcr_control: Option<String>, pub pcr_period: Option<i64>, pub pcr_pid: Option<String>, pub pmt_interval: Option<i64>, pub pmt_pid: Option<String>, pub program_num: Option<i64>, pub scte_35_behavior: Option<String>, pub scte_35_pid: Option<String>, pub timed_metadata_behavior: Option<String>, pub timed_metadata_pid: Option<String>, pub transport_stream_id: Option<i64>, pub video_pid: Option<String>,
}
Expand description

Settings information for the .m3u8 container

Fields

audio_frames_per_pes: Option<i64>

The number of audio frames to insert for each PES packet.

audio_pids: Option<String>

Packet Identifier (PID) of the elementary audio stream(s) in the transport stream. Multiple values are accepted, and can be entered in ranges and/or by comma separation. Can be entered as decimal or hexadecimal values.

ecm_pid: Option<String>

This parameter is unused and deprecated.

nielsen_id_3_behavior: Option<String>

If set to passthrough, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.

pat_interval: Option<i64>

The number of milliseconds between instances of this table in the output transport stream. A value of "0" writes out the PMT once per segment file.

pcr_control: Option<String>

When set to pcrEveryPesPacket, a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header. This parameter is effective only when the PCR PID is the same as the video or audio elementary stream.

pcr_period: Option<i64>

Maximum time in milliseconds between Program Clock References (PCRs) inserted into the transport stream.

pcr_pid: Option<String>

Packet Identifier (PID) of the Program Clock Reference (PCR) in the transport stream. When no value is given, the encoder will assign the same value as the Video PID. Can be entered as a decimal or hexadecimal value.

pmt_interval: Option<i64>

The number of milliseconds between instances of this table in the output transport stream. A value of "0" writes out the PMT once per segment file.

pmt_pid: Option<String>

Packet Identifier (PID) for the Program Map Table (PMT) in the transport stream. Can be entered as a decimal or hexadecimal value.

program_num: Option<i64>

The value of the program number field in the Program Map Table.

scte_35_behavior: Option<String>

If set to passthrough, passes any SCTE-35 signals from the input source to this output.

scte_35_pid: Option<String>

Packet Identifier (PID) of the SCTE-35 stream in the transport stream. Can be entered as a decimal or hexadecimal value.

timed_metadata_behavior: Option<String>

When set to passthrough, timed metadata is passed through from input to output.

timed_metadata_pid: Option<String>

Packet Identifier (PID) of the timed metadata stream in the transport stream. Can be entered as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).

transport_stream_id: Option<i64>

The value of the transport stream ID field in the Program Map Table.

video_pid: Option<String>

Packet Identifier (PID) of the elementary video stream in the transport stream. Can be entered as a decimal or hexadecimal value.

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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