pub struct VideoStreamConfig {
pub codec: VideoCodec,
pub format: VideoFormat,
pub sps: Vec<u8>,
pub pps: Vec<u8>,
pub vps: Vec<u8>,
pub nal_length_size: Option<u8>,
pub width: Option<u16>,
pub height: Option<u16>,
}Fields§
§codec: VideoCodec§format: VideoFormat§sps: Vec<u8>§pps: Vec<u8>§vps: Vec<u8>§nal_length_size: Option<u8>§width: Option<u16>§height: Option<u16>Trait Implementations§
Source§impl Clone for VideoStreamConfig
impl Clone for VideoStreamConfig
Source§fn clone(&self) -> VideoStreamConfig
fn clone(&self) -> VideoStreamConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 VideoStreamConfig
impl Debug for VideoStreamConfig
Source§impl PartialEq for VideoStreamConfig
impl PartialEq for VideoStreamConfig
impl Eq for VideoStreamConfig
impl StructuralPartialEq for VideoStreamConfig
Auto Trait Implementations§
impl Freeze for VideoStreamConfig
impl RefUnwindSafe for VideoStreamConfig
impl Send for VideoStreamConfig
impl Sync for VideoStreamConfig
impl Unpin for VideoStreamConfig
impl UnwindSafe for VideoStreamConfig
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