pub struct Mp4RecordingConfig {
pub codec: Mp4Codec,
pub max_framerate: RecordingFrameRate,
pub h264_metadata: Option<H264Metadata>,
}Expand description
Configuration for MP4 recording
Fields§
§codec: Mp4Codec§max_framerate: RecordingFrameRateLimits the recording to a maximum frame rate.
h264_metadata: Option<H264Metadata>Trait Implementations§
Source§impl Clone for Mp4RecordingConfig
impl Clone for Mp4RecordingConfig
Source§fn clone(&self) -> Mp4RecordingConfig
fn clone(&self) -> Mp4RecordingConfig
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 Mp4RecordingConfig
impl Debug for Mp4RecordingConfig
Source§impl<'de> Deserialize<'de> for Mp4RecordingConfig
impl<'de> Deserialize<'de> for Mp4RecordingConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for Mp4RecordingConfig
impl PartialEq for Mp4RecordingConfig
Source§impl Serialize for Mp4RecordingConfig
impl Serialize for Mp4RecordingConfig
impl StructuralPartialEq for Mp4RecordingConfig
Auto Trait Implementations§
impl Freeze for Mp4RecordingConfig
impl RefUnwindSafe for Mp4RecordingConfig
impl Send for Mp4RecordingConfig
impl Sync for Mp4RecordingConfig
impl Unpin for Mp4RecordingConfig
impl UnsafeUnpin for Mp4RecordingConfig
impl UnwindSafe for Mp4RecordingConfig
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