pub enum RtmpMessageData {
Show 13 variants
Amf0Command {
command_name: Amf0ValueType,
transaction_id: Amf0ValueType,
command_object: Amf0ValueType,
others: Vec<Amf0ValueType>,
},
AmfData {
raw_data: BytesMut,
},
SetChunkSize {
chunk_size: u32,
},
AbortMessage {
chunk_stream_id: u32,
},
Acknowledgement {
sequence_number: u32,
},
WindowAcknowledgementSize {
size: u32,
},
SetPeerBandwidth {
properties: SetPeerBandwidthProperties,
},
AudioData {
data: BytesMut,
},
VideoData {
data: BytesMut,
},
SetBufferLength {
stream_id: u32,
buffer_length: u32,
},
StreamBegin {
stream_id: u32,
},
StreamIsRecorded {
stream_id: u32,
},
Unknow,
}Variants§
Amf0Command
Fields
§
command_name: Amf0ValueType§
transaction_id: Amf0ValueType§
command_object: Amf0ValueType§
others: Vec<Amf0ValueType>AmfData
SetChunkSize
AbortMessage
Acknowledgement
WindowAcknowledgementSize
SetPeerBandwidth
Fields
§
properties: SetPeerBandwidthPropertiesAudioData
VideoData
SetBufferLength
StreamBegin
StreamIsRecorded
Unknow
Auto Trait Implementations§
impl Freeze for RtmpMessageData
impl RefUnwindSafe for RtmpMessageData
impl Send for RtmpMessageData
impl Sync for RtmpMessageData
impl Unpin for RtmpMessageData
impl UnwindSafe for RtmpMessageData
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