pub struct PipeWireCameraSourceUpdater<'a> { /* private fields */ }Available on Linux only.
Expand description
Used to update the source this updater was created from. For more details look at docs for the corresponding builder.
Implementations§
Source§impl<'a> PipeWireCameraSourceUpdater<'a>
impl<'a> PipeWireCameraSourceUpdater<'a>
Sourcepub fn set_camera_id<T: Into<ObsString> + Sync + Send>(
self,
camera_id: T,
) -> Self
pub fn set_camera_id<T: Into<ObsString> + Sync + Send>( self, camera_id: T, ) -> Self
Camera device node (e.g., “/dev/video0”)
Sourcepub fn set_video_format<T: Into<ObsString> + Sync + Send>(
self,
video_format: T,
) -> Self
pub fn set_video_format<T: Into<ObsString> + Sync + Send>( self, video_format: T, ) -> Self
Video format (FOURCC as string)
Sourcepub fn set_resolution<T: Into<ObsString> + Sync + Send>(
self,
resolution: T,
) -> Self
pub fn set_resolution<T: Into<ObsString> + Sync + Send>( self, resolution: T, ) -> Self
Resolution as “width x height”
Sourcepub fn set_framerate<T: Into<ObsString> + Sync + Send>(
self,
framerate: T,
) -> Self
pub fn set_framerate<T: Into<ObsString> + Sync + Send>( self, framerate: T, ) -> Self
Framerate as “num/den”
Trait Implementations§
Source§impl<'a> ObsObjectUpdater<'a> for PipeWireCameraSourceUpdater<'a>
impl<'a> ObsObjectUpdater<'a> for PipeWireCameraSourceUpdater<'a>
Auto Trait Implementations§
impl<'a> Freeze for PipeWireCameraSourceUpdater<'a>
impl<'a> RefUnwindSafe for PipeWireCameraSourceUpdater<'a>
impl<'a> Send for PipeWireCameraSourceUpdater<'a>
impl<'a> Sync for PipeWireCameraSourceUpdater<'a>
impl<'a> Unpin for PipeWireCameraSourceUpdater<'a>
impl<'a> !UnwindSafe for PipeWireCameraSourceUpdater<'a>
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