pub struct VideoStreamAllocateParams {
pub stream_usage: u8,
pub video_codec: VideoCodec,
pub min_frame_rate: u16,
pub max_frame_rate: u16,
pub min_resolution: VideoResolution,
pub max_resolution: VideoResolution,
pub min_bit_rate: u32,
pub max_bit_rate: u32,
pub key_frame_interval: u16,
pub watermark_enabled: bool,
pub osd_enabled: bool,
}Expand description
Parameters for VideoStreamAllocate command
Fields§
§stream_usage: u8§video_codec: VideoCodec§min_frame_rate: u16§max_frame_rate: u16§min_resolution: VideoResolution§max_resolution: VideoResolution§min_bit_rate: u32§max_bit_rate: u32§key_frame_interval: u16§watermark_enabled: bool§osd_enabled: boolAuto Trait Implementations§
impl Freeze for VideoStreamAllocateParams
impl RefUnwindSafe for VideoStreamAllocateParams
impl Send for VideoStreamAllocateParams
impl Sync for VideoStreamAllocateParams
impl Unpin for VideoStreamAllocateParams
impl UnsafeUnpin for VideoStreamAllocateParams
impl UnwindSafe for VideoStreamAllocateParams
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