#[non_exhaustive]pub struct MediaStreamSourceConfigurationRequest {
pub encoding_name: Option<EncodingName>,
pub input_configurations: Option<Vec<InputConfigurationRequest>>,
pub media_stream_name: Option<String>,
}Expand description
The definition of a media stream that you want to associate with the source.
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.encoding_name: Option<EncodingName>The format you want to use 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.
input_configurations: Option<Vec<InputConfigurationRequest>>The transport parameters that you want to associate with the media stream.
media_stream_name: Option<String>The name of the media stream.
Implementations§
source§impl MediaStreamSourceConfigurationRequest
impl MediaStreamSourceConfigurationRequest
sourcepub fn encoding_name(&self) -> Option<&EncodingName>
pub fn encoding_name(&self) -> Option<&EncodingName>
The format you want to use 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 input_configurations(&self) -> &[InputConfigurationRequest]
pub fn input_configurations(&self) -> &[InputConfigurationRequest]
The transport parameters that you want to associate with the media stream.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .input_configurations.is_none().
sourcepub fn media_stream_name(&self) -> Option<&str>
pub fn media_stream_name(&self) -> Option<&str>
The name of the media stream.
source§impl MediaStreamSourceConfigurationRequest
impl MediaStreamSourceConfigurationRequest
sourcepub fn builder() -> MediaStreamSourceConfigurationRequestBuilder
pub fn builder() -> MediaStreamSourceConfigurationRequestBuilder
Creates a new builder-style object to manufacture MediaStreamSourceConfigurationRequest.
Trait Implementations§
source§impl Clone for MediaStreamSourceConfigurationRequest
impl Clone for MediaStreamSourceConfigurationRequest
source§fn clone(&self) -> MediaStreamSourceConfigurationRequest
fn clone(&self) -> MediaStreamSourceConfigurationRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for MediaStreamSourceConfigurationRequest
impl PartialEq for MediaStreamSourceConfigurationRequest
source§fn eq(&self, other: &MediaStreamSourceConfigurationRequest) -> bool
fn eq(&self, other: &MediaStreamSourceConfigurationRequest) -> bool
self and other values to be equal, and is used
by ==.