pub struct SCRecordingOutputConfiguration { /* private fields */ }Expand description
Configuration for recording output
Implementations§
Source§impl SCRecordingOutputConfiguration
impl SCRecordingOutputConfiguration
pub fn new() -> Self
Sourcepub fn set_output_url(&mut self, path: &Path)
pub fn set_output_url(&mut self, path: &Path)
Set the output file URL
Sourcepub fn set_video_codec(&mut self, codec: SCRecordingOutputCodec)
pub fn set_video_codec(&mut self, codec: SCRecordingOutputCodec)
Set the video codec
Sourcepub fn set_average_bitrate(&mut self, bitrate: i64)
pub fn set_average_bitrate(&mut self, bitrate: i64)
Set the average bitrate in bits per second
pub fn as_ptr(&self) -> *const c_void
Trait Implementations§
impl Send for SCRecordingOutputConfiguration
impl Sync for SCRecordingOutputConfiguration
Auto Trait Implementations§
impl Freeze for SCRecordingOutputConfiguration
impl RefUnwindSafe for SCRecordingOutputConfiguration
impl Unpin for SCRecordingOutputConfiguration
impl UnwindSafe for SCRecordingOutputConfiguration
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