pub enum RtmpMessage {
Show 14 variants
SetChunkSize(u32),
Abort {
csid: u32,
},
Acknowledgement {
sequence: u32,
},
UserControl(UserControlEvent),
WindowAckSize(u32),
SetPeerBandwidth {
size: u32,
limit_type: u8,
},
Audio {
timestamp: u32,
data: Bytes,
},
Video {
timestamp: u32,
data: Bytes,
},
Command(Command),
Data(DataMessage),
CommandAmf3(Command),
DataAmf3(DataMessage),
Aggregate {
data: Bytes,
},
Unknown {
type_id: u8,
data: Bytes,
},
}Expand description
Parsed RTMP message
Variants§
SetChunkSize(u32)
Set Chunk Size (type 1)
Abort
Abort Message (type 2)
Acknowledgement
Acknowledgement (type 3)
UserControl(UserControlEvent)
User Control Message (type 4)
WindowAckSize(u32)
Window Acknowledgement Size (type 5)
SetPeerBandwidth
Set Peer Bandwidth (type 6)
Audio
Audio data (type 8)
Video
Video data (type 9)
Command(Command)
AMF0 Command (type 20)
Data(DataMessage)
AMF0 Data message (type 18) - metadata, etc.
CommandAmf3(Command)
AMF3 Command (type 17)
DataAmf3(DataMessage)
AMF3 Data message (type 15)
Aggregate
Aggregate message (type 22)
Unknown
Unknown message type
Implementations§
Trait Implementations§
Source§impl Clone for RtmpMessage
impl Clone for RtmpMessage
Source§fn clone(&self) -> RtmpMessage
fn clone(&self) -> RtmpMessage
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 moreAuto Trait Implementations§
impl !Freeze for RtmpMessage
impl RefUnwindSafe for RtmpMessage
impl Send for RtmpMessage
impl Sync for RtmpMessage
impl Unpin for RtmpMessage
impl UnwindSafe for RtmpMessage
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