#[non_exhaustive]pub struct MediaStreamOutputConfiguration {
pub destination_configurations: Option<Vec<DestinationConfiguration>>,
pub encoding_name: Option<EncodingName>,
pub encoding_parameters: Option<EncodingParameters>,
pub media_stream_name: Option<String>,
}Expand description
The media stream that is associated with the output, and the parameters for that association.
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.destination_configurations: Option<Vec<DestinationConfiguration>>The transport parameters that are associated with each outbound media stream.
encoding_name: Option<EncodingName>The format that was used to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.
encoding_parameters: Option<EncodingParameters>Encoding parameters
media_stream_name: Option<String>The name of the media stream.
Implementations§
source§impl MediaStreamOutputConfiguration
impl MediaStreamOutputConfiguration
sourcepub fn destination_configurations(&self) -> Option<&[DestinationConfiguration]>
pub fn destination_configurations(&self) -> Option<&[DestinationConfiguration]>
The transport parameters that are associated with each outbound media stream.
sourcepub fn encoding_name(&self) -> Option<&EncodingName>
pub fn encoding_name(&self) -> Option<&EncodingName>
The format that was used to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.
sourcepub fn encoding_parameters(&self) -> Option<&EncodingParameters>
pub fn encoding_parameters(&self) -> Option<&EncodingParameters>
Encoding parameters
sourcepub fn media_stream_name(&self) -> Option<&str>
pub fn media_stream_name(&self) -> Option<&str>
The name of the media stream.
source§impl MediaStreamOutputConfiguration
impl MediaStreamOutputConfiguration
sourcepub fn builder() -> MediaStreamOutputConfigurationBuilder
pub fn builder() -> MediaStreamOutputConfigurationBuilder
Creates a new builder-style object to manufacture MediaStreamOutputConfiguration.
Trait Implementations§
source§impl Clone for MediaStreamOutputConfiguration
impl Clone for MediaStreamOutputConfiguration
source§fn clone(&self) -> MediaStreamOutputConfiguration
fn clone(&self) -> MediaStreamOutputConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for MediaStreamOutputConfiguration
impl PartialEq for MediaStreamOutputConfiguration
source§fn eq(&self, other: &MediaStreamOutputConfiguration) -> bool
fn eq(&self, other: &MediaStreamOutputConfiguration) -> bool
self and other values to be equal, and is used
by ==.