Struct aws_sdk_ivs::types::VideoConfiguration
source · #[non_exhaustive]pub struct VideoConfiguration {
pub avc_profile: Option<String>,
pub avc_level: Option<String>,
pub codec: Option<String>,
pub encoder: Option<String>,
pub target_bitrate: i64,
pub target_framerate: i64,
pub video_height: i64,
pub video_width: i64,
}
Expand description
Object specifying a stream’s video configuration, as set up by the broadcaster (usually in an encoder). This is part of the IngestConfiguration
object and used for monitoring stream health.
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.avc_profile: Option<String>
Indicates to the decoder the requirements for decoding the stream. For definitions of the valid values, see the H.264 specification.
avc_level: Option<String>
Indicates the degree of required decoder performance for a profile. Normally this is set automatically by the encoder. For details, see the H.264 specification.
codec: Option<String>
Codec used for the video encoding.
encoder: Option<String>
Software or hardware used to encode the video.
target_bitrate: i64
The expected ingest bitrate (bits per second). This is configured in the encoder.
target_framerate: i64
The expected ingest framerate. This is configured in the encoder.
video_height: i64
Video-resolution height in pixels.
video_width: i64
Video-resolution width in pixels.
Implementations§
source§impl VideoConfiguration
impl VideoConfiguration
sourcepub fn avc_profile(&self) -> Option<&str>
pub fn avc_profile(&self) -> Option<&str>
Indicates to the decoder the requirements for decoding the stream. For definitions of the valid values, see the H.264 specification.
sourcepub fn avc_level(&self) -> Option<&str>
pub fn avc_level(&self) -> Option<&str>
Indicates the degree of required decoder performance for a profile. Normally this is set automatically by the encoder. For details, see the H.264 specification.
sourcepub fn target_bitrate(&self) -> i64
pub fn target_bitrate(&self) -> i64
The expected ingest bitrate (bits per second). This is configured in the encoder.
sourcepub fn target_framerate(&self) -> i64
pub fn target_framerate(&self) -> i64
The expected ingest framerate. This is configured in the encoder.
sourcepub fn video_height(&self) -> i64
pub fn video_height(&self) -> i64
Video-resolution height in pixels.
sourcepub fn video_width(&self) -> i64
pub fn video_width(&self) -> i64
Video-resolution width in pixels.
source§impl VideoConfiguration
impl VideoConfiguration
sourcepub fn builder() -> VideoConfigurationBuilder
pub fn builder() -> VideoConfigurationBuilder
Creates a new builder-style object to manufacture VideoConfiguration
.
Trait Implementations§
source§impl Clone for VideoConfiguration
impl Clone for VideoConfiguration
source§fn clone(&self) -> VideoConfiguration
fn clone(&self) -> VideoConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VideoConfiguration
impl Debug for VideoConfiguration
source§impl PartialEq for VideoConfiguration
impl PartialEq for VideoConfiguration
source§fn eq(&self, other: &VideoConfiguration) -> bool
fn eq(&self, other: &VideoConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VideoConfiguration
Auto Trait Implementations§
impl Freeze for VideoConfiguration
impl RefUnwindSafe for VideoConfiguration
impl Send for VideoConfiguration
impl Sync for VideoConfiguration
impl Unpin for VideoConfiguration
impl UnwindSafe for VideoConfiguration
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