Home
last modified time | relevance | path

Searched refs:rtp_header (Results 1 – 2 of 2) sorted by relevance

/xiu/protocol/rtsp/src/rtp/
H A Drtp_header.rs30 let mut rtp_header = RtpHeader::default(); in unmarshal() localVariable
33 rtp_header.version = byte_1st >> 6; in unmarshal()
34 rtp_header.padding_flag = byte_1st >> 5 & 0x01; in unmarshal()
35 rtp_header.extension_flag = byte_1st >> 4 & 0x01; in unmarshal()
36 rtp_header.cc = byte_1st & 0x0F; in unmarshal()
39 rtp_header.marker = byte_2nd >> 7; in unmarshal()
40 rtp_header.payload_type = byte_2nd & 0x7F; in unmarshal()
42 rtp_header.timestamp = reader.read_u32::<BigEndian>()?; in unmarshal()
43 rtp_header.ssrc = reader.read_u32::<BigEndian>()?; in unmarshal()
45 for _ in 0..rtp_header.cc { in unmarshal()
[all …]
H A Dmod.rs7 pub mod rtp_header; module
16 use rtp_header::RtpHeader;