pub struct RtmpChunk {
pub csid: u32,
pub timestamp: u32,
pub message_type: u8,
pub stream_id: u32,
pub payload: Bytes,
}Expand description
A complete RTMP message (reassembled from chunks)
Fields§
§csid: u32Chunk stream ID (for multiplexing)
timestamp: u32Message timestamp (milliseconds)
message_type: u8Message type ID
stream_id: u32Message stream ID
payload: BytesMessage payload
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for RtmpChunk
impl RefUnwindSafe for RtmpChunk
impl Send for RtmpChunk
impl Sync for RtmpChunk
impl Unpin for RtmpChunk
impl UnwindSafe for RtmpChunk
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