Struct aws_sdk_mediaconnect::types::Transport
source · #[non_exhaustive]pub struct Transport {Show 13 fields
pub cidr_allow_list: Option<Vec<String>>,
pub max_bitrate: Option<i32>,
pub max_latency: Option<i32>,
pub max_sync_buffer: Option<i32>,
pub min_latency: Option<i32>,
pub protocol: Option<Protocol>,
pub remote_id: Option<String>,
pub sender_control_port: Option<i32>,
pub sender_ip_address: Option<String>,
pub smoothing_latency: Option<i32>,
pub source_listener_address: Option<String>,
pub source_listener_port: Option<i32>,
pub stream_id: Option<String>,
}
Expand description
Attributes related to the transport stream that are used in a source or output.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.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<i32>
The smoothing max bitrate (in bps) for RIST, RTP, and RTP-FEC streams.
max_latency: Option<i32>
The maximum latency in milliseconds. This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.
max_sync_buffer: Option<i32>
The size of the buffer (in milliseconds) to use to sync incoming source data.
min_latency: Option<i32>
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: Option<Protocol>
The protocol that is used by the source or output.
remote_id: Option<String>
The remote ID for the Zixi-pull stream.
sender_control_port: Option<i32>
The port that the flow uses to send outbound requests to initiate connection with the sender.
sender_ip_address: Option<String>
The IP address that the flow communicates with to initiate connection with the sender.
smoothing_latency: Option<i32>
The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.
source_listener_address: Option<String>
Source IP or domain name for SRT-caller protocol.
source_listener_port: Option<i32>
Source port for SRT-caller protocol.
stream_id: Option<String>
The stream ID that you want to use for this transport. This parameter applies only to Zixi and SRT caller-based streams.
Implementations§
source§impl Transport
impl Transport
sourcepub fn cidr_allow_list(&self) -> &[String]
pub fn cidr_allow_list(&self) -> &[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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .cidr_allow_list.is_none()
.
sourcepub fn max_bitrate(&self) -> Option<i32>
pub fn max_bitrate(&self) -> Option<i32>
The smoothing max bitrate (in bps) for RIST, RTP, and RTP-FEC streams.
sourcepub fn max_latency(&self) -> Option<i32>
pub fn max_latency(&self) -> Option<i32>
The maximum latency in milliseconds. This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.
sourcepub fn max_sync_buffer(&self) -> Option<i32>
pub fn max_sync_buffer(&self) -> Option<i32>
The size of the buffer (in milliseconds) to use to sync incoming source data.
sourcepub fn min_latency(&self) -> Option<i32>
pub fn min_latency(&self) -> Option<i32>
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.
sourcepub fn sender_control_port(&self) -> Option<i32>
pub fn sender_control_port(&self) -> Option<i32>
The port that the flow uses to send outbound requests to initiate connection with the sender.
sourcepub fn sender_ip_address(&self) -> Option<&str>
pub fn sender_ip_address(&self) -> Option<&str>
The IP address that the flow communicates with to initiate connection with the sender.
sourcepub fn smoothing_latency(&self) -> Option<i32>
pub fn smoothing_latency(&self) -> Option<i32>
The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.
sourcepub fn source_listener_address(&self) -> Option<&str>
pub fn source_listener_address(&self) -> Option<&str>
Source IP or domain name for SRT-caller protocol.
sourcepub fn source_listener_port(&self) -> Option<i32>
pub fn source_listener_port(&self) -> Option<i32>
Source port for SRT-caller protocol.
Trait Implementations§
source§impl PartialEq for Transport
impl PartialEq for Transport
impl StructuralPartialEq for Transport
Auto Trait Implementations§
impl Freeze for Transport
impl RefUnwindSafe for Transport
impl Send for Transport
impl Sync for Transport
impl Unpin for Transport
impl UnwindSafe for Transport
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more