#[non_exhaustive]pub struct MediaStreamOutputConfigurationBuilder { /* private fields */ }
Expand description
A builder for MediaStreamOutputConfiguration
.
Implementations§
source§impl MediaStreamOutputConfigurationBuilder
impl MediaStreamOutputConfigurationBuilder
sourcepub fn destination_configurations(self, input: DestinationConfiguration) -> Self
pub fn destination_configurations(self, input: DestinationConfiguration) -> Self
Appends an item to destination_configurations
.
To override the contents of this collection use set_destination_configurations
.
The transport parameters that are associated with each outbound media stream.
sourcepub fn set_destination_configurations(
self,
input: Option<Vec<DestinationConfiguration>>,
) -> Self
pub fn set_destination_configurations( self, input: Option<Vec<DestinationConfiguration>>, ) -> Self
The transport parameters that are associated with each outbound media stream.
sourcepub fn get_destination_configurations(
&self,
) -> &Option<Vec<DestinationConfiguration>>
pub fn get_destination_configurations( &self, ) -> &Option<Vec<DestinationConfiguration>>
The transport parameters that are associated with each outbound media stream.
sourcepub fn encoding_name(self, input: EncodingName) -> Self
pub fn encoding_name(self, input: EncodingName) -> Self
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. This field is required.
sourcepub fn set_encoding_name(self, input: Option<EncodingName>) -> Self
pub fn set_encoding_name(self, input: Option<EncodingName>) -> Self
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 get_encoding_name(&self) -> &Option<EncodingName>
pub fn get_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, input: EncodingParameters) -> Self
pub fn encoding_parameters(self, input: EncodingParameters) -> Self
Encoding parameters
sourcepub fn set_encoding_parameters(self, input: Option<EncodingParameters>) -> Self
pub fn set_encoding_parameters(self, input: Option<EncodingParameters>) -> Self
Encoding parameters
sourcepub fn get_encoding_parameters(&self) -> &Option<EncodingParameters>
pub fn get_encoding_parameters(&self) -> &Option<EncodingParameters>
Encoding parameters
sourcepub fn media_stream_name(self, input: impl Into<String>) -> Self
pub fn media_stream_name(self, input: impl Into<String>) -> Self
The name of the media stream. This field is required.
sourcepub fn set_media_stream_name(self, input: Option<String>) -> Self
pub fn set_media_stream_name(self, input: Option<String>) -> Self
The name of the media stream.
sourcepub fn get_media_stream_name(&self) -> &Option<String>
pub fn get_media_stream_name(&self) -> &Option<String>
The name of the media stream.
sourcepub fn build(self) -> MediaStreamOutputConfiguration
pub fn build(self) -> MediaStreamOutputConfiguration
Consumes the builder and constructs a MediaStreamOutputConfiguration
.
Trait Implementations§
source§impl Clone for MediaStreamOutputConfigurationBuilder
impl Clone for MediaStreamOutputConfigurationBuilder
source§fn clone(&self) -> MediaStreamOutputConfigurationBuilder
fn clone(&self) -> MediaStreamOutputConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for MediaStreamOutputConfigurationBuilder
impl Default for MediaStreamOutputConfigurationBuilder
source§fn default() -> MediaStreamOutputConfigurationBuilder
fn default() -> MediaStreamOutputConfigurationBuilder
source§impl PartialEq for MediaStreamOutputConfigurationBuilder
impl PartialEq for MediaStreamOutputConfigurationBuilder
source§fn eq(&self, other: &MediaStreamOutputConfigurationBuilder) -> bool
fn eq(&self, other: &MediaStreamOutputConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MediaStreamOutputConfigurationBuilder
Auto Trait Implementations§
impl Freeze for MediaStreamOutputConfigurationBuilder
impl RefUnwindSafe for MediaStreamOutputConfigurationBuilder
impl Send for MediaStreamOutputConfigurationBuilder
impl Sync for MediaStreamOutputConfigurationBuilder
impl Unpin for MediaStreamOutputConfigurationBuilder
impl UnwindSafe for MediaStreamOutputConfigurationBuilder
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