pub struct KeyframeRequest {
pub mid: Mid,
pub rid: Option<Rid>,
pub kind: KeyframeRequestKind,
}Expand description
Details for an incoming a keyframe request (PLI or FIR).
This is obtained via the Event::KeyframeRequest.
Sending a keyframe request is done via Media::request_keyframe().
Fields§
§mid: MidThe media identifier this keyframe request is for.
rid: Option<Rid>Rid the keyframe request is for. Relevant when doing simulcast.
kind: KeyframeRequestKindThe kind of keyframe request (PLI or FIR).
Trait Implementations§
Source§impl Clone for KeyframeRequest
impl Clone for KeyframeRequest
Source§fn clone(&self) -> KeyframeRequest
fn clone(&self) -> KeyframeRequest
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KeyframeRequest
impl Debug for KeyframeRequest
Source§impl PartialEq for KeyframeRequest
impl PartialEq for KeyframeRequest
impl Copy for KeyframeRequest
impl Eq for KeyframeRequest
impl StructuralPartialEq for KeyframeRequest
Auto Trait Implementations§
impl Freeze for KeyframeRequest
impl RefUnwindSafe for KeyframeRequest
impl Send for KeyframeRequest
impl Sync for KeyframeRequest
impl Unpin for KeyframeRequest
impl UnwindSafe for KeyframeRequest
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)