#[non_exhaustive]pub enum CapturePause {
Hidden,
Background,
InUseByAnother,
Thermal,
Other,
Suspended,
}Expand description
Video capture (video-core): cameras, screens, the OS picker, screen thumbnails and the
pre-join preview over a kessel-video backend, as the sources the publish side takes.
Video capture (video-core): cameras, screens, the OS picker, screen thumbnails and the
pre-join preview over a kessel-video backend, as the sources the publish side takes.
Video capture (video-core): cameras, screens, the OS picker, screen thumbnails and the
pre-join preview over a kessel-video backend, as the sources the publish side takes.
Why a source paused without ending (frames stop; the publication stays).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Hidden
A shared window is minimised or occluded.
Background
Phones: the app went to the background.
InUseByAnother
Another app took the camera.
Thermal
Thermal pressure: the OS stopped the camera.
Other
A reason kessel-video added later.
Suspended
The camera says it is suspended (macOS and iOS): a MacBook’s built-in camera with its lid closed, a shut lens cover. Frames come back when it does. (Last, so the other variants keep their discriminants.)
Trait Implementations§
Source§impl Clone for CapturePause
impl Clone for CapturePause
impl Copy for CapturePause
Source§impl Debug for CapturePause
impl Debug for CapturePause
impl Eq for CapturePause
Source§impl Hash for CapturePause
impl Hash for CapturePause
Source§impl PartialEq for CapturePause
impl PartialEq for CapturePause
impl StructuralPartialEq for CapturePause
Auto Trait Implementations§
impl Forget for CapturePause
impl Freeze for CapturePause
impl Move for CapturePause
impl RefUnwindSafe for CapturePause
impl Send for CapturePause
impl Sync for CapturePause
impl Unpin for CapturePause
impl UnsafeUnpin for CapturePause
impl UnwindSafe for CapturePause
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> CloneAny for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CryptoSafe for T
impl<T> CryptoSafe for T
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more