#[repr(C)]pub struct moq_frame {
pub payload: *const u8,
pub payload_size: usize,
pub timestamp_us: u64,
pub keyframe: bool,
}Expand description
Information about a frame of media.
Fields§
§payload: *const u8The payload of the frame, or NULL/0 if the stream has ended
payload_size: usize§timestamp_us: u64The presentation timestamp of the frame in microseconds
keyframe: boolWhether the frame is a keyframe, aka the start of a new group.
Auto Trait Implementations§
impl Freeze for moq_frame
impl RefUnwindSafe for moq_frame
impl !Send for moq_frame
impl !Sync for moq_frame
impl Unpin for moq_frame
impl UnwindSafe for moq_frame
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