pub struct PacketizedFrame {
pub timestamp_us: u64,
pub payload: Bytes,
}Expand description
One RTP-ready codec frame produced by an egress Track.
timestamp_us stays in microseconds; the session loop converts it to
the negotiated codec’s clock domain when calling
Writer::write.
Fields§
§timestamp_us: u64§payload: BytesTrait Implementations§
Source§impl Clone for PacketizedFrame
impl Clone for PacketizedFrame
Source§fn clone(&self) -> PacketizedFrame
fn clone(&self) -> PacketizedFrame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Freeze for PacketizedFrame
impl RefUnwindSafe for PacketizedFrame
impl Send for PacketizedFrame
impl Sync for PacketizedFrame
impl Unpin for PacketizedFrame
impl UnsafeUnpin for PacketizedFrame
impl UnwindSafe for PacketizedFrame
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