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: Mid
The media identifier this keyframe request is for.
rid: Option<Rid>
Rid the keyframe request is for. Relevant when doing simulcast.
kind: KeyframeRequestKind
The 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 · 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 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§
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