logo
pub struct Transport {
    pub cidr_allow_list: Option<Vec<String>>,
    pub max_bitrate: Option<i64>,
    pub max_latency: Option<i64>,
    pub max_sync_buffer: Option<i64>,
    pub min_latency: Option<i64>,
    pub protocol: String,
    pub remote_id: Option<String>,
    pub smoothing_latency: Option<i64>,
    pub stream_id: Option<String>,
}
Expand description

Attributes related to the transport stream that are used in a source or output.

Fields

cidr_allow_list: Option<Vec<String>>

The range of IP addresses that should be allowed to initiate output requests to this flow. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

max_bitrate: Option<i64>

The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.

max_latency: Option<i64>

The maximum latency in milliseconds. This parameter applies only to RIST-based and Zixi-based streams.

max_sync_buffer: Option<i64>

The size of the buffer (in milliseconds) to use to sync incoming source data.

min_latency: Option<i64>

The minimum latency in milliseconds for SRT-based streams. In streams that use the SRT protocol, this value that you set on your MediaConnect source or output represents the minimal potential latency of that connection. The latency of the stream is set to the highest number between the sender’s minimum latency and the receiver’s minimum latency.

protocol: String

The protocol that is used by the source or output.

remote_id: Option<String>

The remote ID for the Zixi-pull stream.

smoothing_latency: Option<i64>

The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.

stream_id: Option<String>

The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.

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 !=.

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