Struct aws_sdk_ivs::model::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.
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
sourceimpl 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.
sourceimpl VideoConfiguration
impl VideoConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture VideoConfiguration
Trait Implementations
sourceimpl Clone for VideoConfiguration
impl Clone for VideoConfiguration
sourcefn clone(&self) -> VideoConfiguration
fn clone(&self) -> VideoConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for VideoConfiguration
impl Debug for VideoConfiguration
sourceimpl PartialEq<VideoConfiguration> for VideoConfiguration
impl PartialEq<VideoConfiguration> for VideoConfiguration
sourcefn eq(&self, other: &VideoConfiguration) -> bool
fn eq(&self, other: &VideoConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &VideoConfiguration) -> bool
fn ne(&self, other: &VideoConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for VideoConfiguration
Auto Trait Implementations
impl RefUnwindSafe for VideoConfiguration
impl Send for VideoConfiguration
impl Sync for VideoConfiguration
impl Unpin for VideoConfiguration
impl UnwindSafe for VideoConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more