pub struct StreamingConfig {
pub target_fps: u32,
pub buffer_size: usize,
pub capture_threads: usize,
pub encoding_threads: usize,
pub adaptive_quality: bool,
pub allow_frame_drop: bool,
pub webp_config: WebPConfig,
pub use_zero_copy: bool,
pub use_gpu: bool,
}Expand description
Streaming pipeline configuration
Fields§
§target_fps: u32Target frames per second
buffer_size: usizeMaximum frames in buffer
capture_threads: usizeNumber of capture threads
encoding_threads: usizeNumber of encoding threads
adaptive_quality: boolEnable adaptive quality
allow_frame_drop: boolEnable frame dropping
webp_config: WebPConfigInitial WebP configuration
use_zero_copy: boolUse zero-copy optimizations
use_gpu: boolUse GPU encoding if available
Trait Implementations§
Source§impl Clone for StreamingConfig
impl Clone for StreamingConfig
Source§fn clone(&self) -> StreamingConfig
fn clone(&self) -> StreamingConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StreamingConfig
impl Debug for StreamingConfig
Auto Trait Implementations§
impl Freeze for StreamingConfig
impl RefUnwindSafe for StreamingConfig
impl Send for StreamingConfig
impl Sync for StreamingConfig
impl Unpin for StreamingConfig
impl UnsafeUnpin for StreamingConfig
impl UnwindSafe for StreamingConfig
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