Home
last modified time | relevance | path

Searched refs:RtpPacket (Results 1 – 8 of 8) sorted by relevance

/xiu/protocol/rtsp/src/rtp/
H A Dmod.rs22 pub struct RtpPacket { struct
31 impl Unmarshal<&mut BytesReader, Result<Self, BytesReadError>> for RtpPacket { argument
37 let mut rtp_packet = RtpPacket { in unmarshal()
71 impl Marshal<Result<BytesMut, BytesWriteError>> for RtpPacket { implementation
93 impl RtpPacket { implementation
H A Drtp_aac.rs12 use super::RtpPacket;
60 let mut packet = RtpPacket::new(self.header.clone()); in pack()
119 let rtp_packet = RtpPacket::unmarshal(reader)?; in unpack()
H A Dutils.rs4 use super::RtpPacket;
33 RtpPacket,
40 Box<dyn Fn(RtpPacket) -> Pin<Box<dyn Future<Output = ()> + Send + 'static>> + Send + Sync>;
H A Drtp_h265.rs14 use super::RtpPacket;
100 let mut packet = RtpPacket::new(self.header.clone()); in pack_fu()
124 let mut packet = RtpPacket::new(self.header.clone()); in pack_single()
183 let rtp_packet = RtpPacket::unmarshal(reader)?; in unpack()
H A Drtp_h264.rs14 use super::RtpPacket;
75 let mut packet = RtpPacket::new(self.header.clone()); in pack_fu_a()
102 let mut packet = RtpPacket::new(self.header.clone()); in pack_single()
164 let rtp_packet = RtpPacket::unmarshal(reader)?; in unpack()
/xiu/protocol/rtsp/src/rtp/rtcp/
H A Drtcp_context.rs2 use crate::rtp::RtpPacket;
215 pub fn send_rtp(&mut self, pkt: RtpPacket) { in send_rtp() argument
228 pub fn received_rtp(&mut self, pkt: RtpPacket) { in received_rtp() argument
/xiu/protocol/rtsp/src/
H A Drtsp_channel.rs9 use crate::rtp::RtpPacket;
189 pub fn on_packet(&mut self, packet: RtpPacket) { in on_packet() argument
/xiu/protocol/rtsp/src/session/
H A Dmod.rs10 use crate::rtp::RtpPacket;
311 rtp_channel_guard.on_packet_for_rtcp_handler(Box::new(move |packet: RtpPacket| { in handle_announce()
428 move |io: Arc<Mutex<Box<dyn TNetIO + Send + Sync>>>, packet: RtpPacket| { in handle_play()
444 move |io: Arc<Mutex<Box<dyn TNetIO + Send + Sync>>>, packet: RtpPacket| { in handle_play()