pub struct Frame {
pub timestamp_us: u64,
pub payload: Bytes,
}Expand description
One codec frame received from str0m, paired with a microsecond timestamp.
Used by the ingest path. The session loop converts str0m’s
MediaTime to microseconds so individual
bridges don’t need to repeat the math.
Fields§
§timestamp_us: u64§payload: BytesTrait Implementations§
Auto Trait Implementations§
impl !Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnsafeUnpin for Frame
impl UnwindSafe for Frame
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