pub struct VideoStreamStruct {Show 13 fields
pub video_stream_id: u16,
pub stream_usage: StreamUsageEnum,
pub video_codec: VideoCodecEnum,
pub min_frame_rate: u16,
pub max_frame_rate: u16,
pub min_resolution: VideoResolutionStruct,
pub max_resolution: VideoResolutionStruct,
pub min_bit_rate: u32,
pub max_bit_rate: u32,
pub key_frame_interval: u16,
pub watermark_enabled: Option<bool>,
pub osd_enabled: Option<bool>,
pub reference_count: u8,
}Expand description
VideoStreamStruct.
Fields§
§video_stream_id: u16VideoStreamID, field 0.
stream_usage: StreamUsageEnumStreamUsage, field 1.
video_codec: VideoCodecEnumVideoCodec, field 2.
min_frame_rate: u16MinFrameRate, field 3.
max_frame_rate: u16MaxFrameRate, field 4.
min_resolution: VideoResolutionStructMinResolution, field 5.
max_resolution: VideoResolutionStructMaxResolution, field 6.
min_bit_rate: u32MinBitRate, field 7.
max_bit_rate: u32MaxBitRate, field 8.
key_frame_interval: u16KeyFrameInterval, field 9.
watermark_enabled: Option<bool>WatermarkEnabled, field 10.
osd_enabled: Option<bool>OSDEnabled, field 11.
reference_count: u8ReferenceCount, field 12.
Trait Implementations§
Source§impl Clone for VideoStreamStruct
impl Clone for VideoStreamStruct
Source§fn clone(&self) -> VideoStreamStruct
fn clone(&self) -> VideoStreamStruct
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 moreimpl Copy for VideoStreamStruct
Source§impl Debug for VideoStreamStruct
impl Debug for VideoStreamStruct
Source§impl<'a> FromTlv<'a> for VideoStreamStruct
impl<'a> FromTlv<'a> for VideoStreamStruct
Source§impl PartialEq for VideoStreamStruct
impl PartialEq for VideoStreamStruct
impl StructuralPartialEq for VideoStreamStruct
Auto Trait Implementations§
impl Freeze for VideoStreamStruct
impl RefUnwindSafe for VideoStreamStruct
impl Send for VideoStreamStruct
impl Sync for VideoStreamStruct
impl Unpin for VideoStreamStruct
impl UnsafeUnpin for VideoStreamStruct
impl UnwindSafe for VideoStreamStruct
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