Searched refs:rtp_header (Results 1 – 2 of 2) sorted by relevance
30 let mut rtp_header = RtpHeader::default(); in unmarshal() localVariable33 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 …]
7 pub mod rtp_header; module16 use rtp_header::RtpHeader;