pub struct Tunings {
pub rate_control: RateControl,
pub framerate: u32,
pub min_quality: u32,
pub max_quality: u32,
}
Expand description
Dynamic parameters of the encoded stream that client may choose to change during the encoding session without recreating the entire encoder instance.
Fields§
§rate_control: RateControl
The stream’s RateControl
framerate: u32
Stream framerate in frames per second
min_quality: u32
Minimum value of codec specific quality parameter constant (eg. QP for H.264)
max_quality: u32
Maximum value of codec specific quality parameter constant (eg. QP for H.264)
Trait Implementations§
impl Eq for Tunings
impl StructuralPartialEq for Tunings
Auto Trait Implementations§
impl Freeze for Tunings
impl RefUnwindSafe for Tunings
impl Send for Tunings
impl Sync for Tunings
impl Unpin for Tunings
impl UnwindSafe for Tunings
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
Mutably borrows from an owned value. Read more