pub enum RawPacket {
RtcpTx(Rtcp),
RtcpRx(Rtcp),
RtpTx(RtpHeader, Vec<u8>),
RtpRx(RtpHeader, Vec<u8>),
}
Expand description
Debug output of the unencrypted RTP and RTCP packets.
Enable using RtcConfig::enable_raw_packets()
.
This clones data, and is therefore expensive.
Should not be enabled outside of tests and troubleshooting.
Variants§
RtcpTx(Rtcp)
Sent RTCP.
RtcpRx(Rtcp)
Incoming RTCP.
RtpTx(RtpHeader, Vec<u8>)
Sent RTP.
RtpRx(RtpHeader, Vec<u8>)
Incoming RTP.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RawPacket
impl !RefUnwindSafe for RawPacket
impl Send for RawPacket
impl Sync for RawPacket
impl Unpin for RawPacket
impl UnwindSafe for RawPacket
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