| /webrtc/rtcp/src/extended_report/ |
| H A D | vm.rs | 161 let ssrc = raw_packet.get_u32(); in unmarshal() 162 let loss_rate = raw_packet.get_u8(); in unmarshal() 165 let gap_density = raw_packet.get_u8(); in unmarshal() 171 let noise_level = raw_packet.get_u8(); in unmarshal() 172 let rerl = raw_packet.get_u8(); in unmarshal() 173 let gmin = raw_packet.get_u8(); in unmarshal() 174 let rfactor = raw_packet.get_u8(); in unmarshal() 176 let mos_lq = raw_packet.get_u8(); in unmarshal() 177 let mos_cq = raw_packet.get_u8(); in unmarshal() 178 let rx_config = raw_packet.get_u8(); in unmarshal() [all …]
|
| H A D | ssr.rs | 200 let ssrc = raw_packet.get_u32(); in unmarshal() 201 let begin_seq = raw_packet.get_u16(); in unmarshal() 202 let end_seq = raw_packet.get_u16(); in unmarshal() 203 let lost_packets = raw_packet.get_u32(); in unmarshal() 204 let dup_packets = raw_packet.get_u32(); in unmarshal() 205 let min_jitter = raw_packet.get_u32(); in unmarshal() 206 let max_jitter = raw_packet.get_u32(); in unmarshal() 207 let mean_jitter = raw_packet.get_u32(); in unmarshal() 208 let dev_jitter = raw_packet.get_u32(); in unmarshal() 209 let min_ttl_or_hl = raw_packet.get_u8(); in unmarshal() [all …]
|
| H A D | mod.rs | 121 fn unmarshal<B>(raw_packet: &mut B) -> Result<Self> in unmarshal() 126 if raw_packet.remaining() < XR_HEADER_LENGTH { in unmarshal() 130 let block_type: BlockType = raw_packet.get_u8().into(); in unmarshal() 131 let type_specific = raw_packet.get_u8(); in unmarshal() 132 let block_length = raw_packet.get_u16(); in unmarshal() 248 fn unmarshal<B>(raw_packet: &mut B) -> Result<Self> in unmarshal() 253 let raw_packet_len = raw_packet.remaining(); in unmarshal() 258 let header = Header::unmarshal(raw_packet)?; in unmarshal() 263 let sender_ssrc = raw_packet.get_u32(); in unmarshal() 267 while raw_packet.remaining() > 0 { in unmarshal() [all …]
|
| H A D | prt.rs | 111 fn unmarshal<B>(raw_packet: &mut B) -> Result<Self> in unmarshal() 116 if raw_packet.remaining() < XR_HEADER_LENGTH { in unmarshal() 120 let xr_header = XRHeader::unmarshal(raw_packet)?; in unmarshal() 124 || raw_packet.remaining() < block_length as usize in unmarshal() 131 let ssrc = raw_packet.get_u32(); in unmarshal() 132 let begin_seq = raw_packet.get_u16(); in unmarshal() 133 let end_seq = raw_packet.get_u16(); in unmarshal() 138 receipt_time.push(raw_packet.get_u32()); in unmarshal()
|
| H A D | dlrr.rs | 119 fn unmarshal<B>(raw_packet: &mut B) -> Result<Self> in unmarshal() 124 if raw_packet.remaining() < XR_HEADER_LENGTH { in unmarshal() 128 let xr_header = XRHeader::unmarshal(raw_packet)?; in unmarshal() 130 if block_length % DLRR_REPORT_LENGTH != 0 || raw_packet.remaining() < block_length as usize in unmarshal() 138 let ssrc = raw_packet.get_u32(); in unmarshal() 139 let last_rr = raw_packet.get_u32(); in unmarshal() 140 let dlrr = raw_packet.get_u32(); in unmarshal()
|
| H A D | rle.rs | 206 fn unmarshal<B>(raw_packet: &mut B) -> Result<Self> in unmarshal() 211 if raw_packet.remaining() < XR_HEADER_LENGTH { in unmarshal() 215 let xr_header = XRHeader::unmarshal(raw_packet)?; in unmarshal() 219 || raw_packet.remaining() < block_length as usize in unmarshal() 227 let ssrc = raw_packet.get_u32(); in unmarshal() 228 let begin_seq = raw_packet.get_u16(); in unmarshal() 229 let end_seq = raw_packet.get_u16(); in unmarshal() 234 chunks.push(Chunk(raw_packet.get_u16())); in unmarshal()
|
| H A D | unknown.rs | 79 fn unmarshal<B>(raw_packet: &mut B) -> Result<Self> in unmarshal() 84 if raw_packet.remaining() < XR_HEADER_LENGTH { in unmarshal() 88 let xr_header = XRHeader::unmarshal(raw_packet)?; in unmarshal() 90 if raw_packet.remaining() < block_length as usize { in unmarshal() 94 let bytes = raw_packet.copy_to_bytes(block_length as usize); in unmarshal()
|
| H A D | rrt.rs | 91 fn unmarshal<B>(raw_packet: &mut B) -> Result<Self> in unmarshal() 96 if raw_packet.remaining() < XR_HEADER_LENGTH { in unmarshal() 100 let xr_header = XRHeader::unmarshal(raw_packet)?; in unmarshal() 102 if block_length != RRT_REPORT_BLOCK_LENGTH || raw_packet.remaining() < block_length as usize in unmarshal() 107 let ntp_timestamp = raw_packet.get_u64(); in unmarshal()
|
| /webrtc/rtcp/src/payload_feedbacks/receiver_estimated_maximum_bitrate/ |
| H A D | mod.rs | 220 let sender_ssrc = raw_packet.get_u32(); in unmarshal() 221 let media_ssrc = raw_packet.get_u32(); in unmarshal() 228 unique_identifier[0] = raw_packet.get_u8(); in unmarshal() 229 unique_identifier[1] = raw_packet.get_u8(); in unmarshal() 230 unique_identifier[2] = raw_packet.get_u8(); in unmarshal() 244 let b17 = raw_packet.get_u8(); in unmarshal() 250 let b18 = raw_packet.get_u8(); in unmarshal() 251 let b19 = raw_packet.get_u8(); in unmarshal() 267 ssrcs.push(raw_packet.get_u32()); in unmarshal() 272 raw_packet.has_remaining() { in unmarshal() [all …]
|
| /webrtc/rtcp/src/ |
| H A D | reception_report.rs | 141 fn unmarshal<B>(raw_packet: &mut B) -> Result<Self, util::Error> in unmarshal() 146 let raw_packet_len = raw_packet.remaining(); in unmarshal() 168 let ssrc = raw_packet.get_u32(); in unmarshal() 169 let fraction_lost = raw_packet.get_u8(); in unmarshal() 171 let t0 = raw_packet.get_u8(); in unmarshal() 172 let t1 = raw_packet.get_u8(); in unmarshal() 173 let t2 = raw_packet.get_u8(); in unmarshal() 187 let last_sequence_number = raw_packet.get_u32(); in unmarshal() 188 let jitter = raw_packet.get_u32(); in unmarshal() 189 let last_sender_report = raw_packet.get_u32(); in unmarshal() [all …]
|
| H A D | raw_packet.rs | 76 fn unmarshal<B>(raw_packet: &mut B) -> Result<Self, util::Error> in unmarshal() 81 let raw_packet_len = raw_packet.remaining(); in unmarshal() 86 let h = Header::unmarshal(raw_packet)?; in unmarshal() 89 let raw_body = raw_packet.copy_to_bytes(raw_packet.remaining()); in unmarshal()
|
| /webrtc/rtcp/src/payload_feedbacks/full_intra_request/ |
| H A D | mod.rs | 120 fn unmarshal<B>(raw_packet: &mut B) -> Result<Self> in unmarshal() 125 let raw_packet_len = raw_packet.remaining(); in unmarshal() 130 let h = Header::unmarshal(raw_packet)?; in unmarshal() 140 let sender_ssrc = raw_packet.get_u32(); in unmarshal() 141 let media_ssrc = raw_packet.get_u32(); in unmarshal() 147 ssrc: raw_packet.get_u32(), in unmarshal() 148 sequence_number: raw_packet.get_u8(), in unmarshal() 150 raw_packet.get_u8(); in unmarshal() 151 raw_packet.get_u16(); in unmarshal() 158 raw_packet.has_remaining() { in unmarshal() [all …]
|
| /webrtc/rtcp/src/transport_feedbacks/transport_layer_cc/ |
| H A D | mod.rs | 188 let b0 = raw_packet.get_u8(); in unmarshal() 189 let b1 = raw_packet.get_u8(); in unmarshal() 268 let b0 = raw_packet.get_u8(); in unmarshal() 269 let b1 = raw_packet.get_u8(); in unmarshal() 376 let chunk_len = raw_packet.remaining(); in unmarshal() 591 let media_ssrc = raw_packet.get_u32(); in unmarshal() 596 buf[0] = raw_packet.get_u8(); in unmarshal() 597 buf[1] = raw_packet.get_u8(); in unmarshal() 598 buf[2] = raw_packet.get_u8(); in unmarshal() 703 raw_packet.has_remaining() { in unmarshal() [all …]
|
| /webrtc/rtcp/src/source_description/ |
| H A D | mod.rs | 131 fn unmarshal<B>(raw_packet: &mut B) -> Result<Self> in unmarshal() 144 let raw_packet_len = raw_packet.remaining(); in unmarshal() 149 let source = raw_packet.get_u32(); in unmarshal() 159 raw_packet.advance(padding_len); in unmarshal() 231 fn unmarshal<B>(raw_packet: &mut B) -> Result<Self> in unmarshal() 243 let raw_packet_len = raw_packet.remaining(); in unmarshal() 260 let octet_count = raw_packet.get_u8() as usize; in unmarshal() 409 let raw_packet_len = raw_packet.remaining(); in unmarshal() 411 let h = Header::unmarshal(raw_packet)?; in unmarshal() 430 raw_packet.has_remaining() { in unmarshal() [all …]
|
| /webrtc/rtcp/src/payload_feedbacks/picture_loss_indication/ |
| H A D | mod.rs | 108 fn unmarshal<B>(raw_packet: &mut B) -> Result<Self> in unmarshal() 113 let raw_packet_len = raw_packet.remaining(); in unmarshal() 118 let h = Header::unmarshal(raw_packet)?; in unmarshal() 123 let sender_ssrc = raw_packet.get_u32(); in unmarshal() 124 let media_ssrc = raw_packet.get_u32(); in unmarshal() 128 raw_packet.has_remaining() { in unmarshal() 129 raw_packet.advance(raw_packet.remaining()); in unmarshal()
|
| /webrtc/rtcp/src/transport_feedbacks/rapid_resynchronization_request/ |
| H A D | mod.rs | 110 fn unmarshal<B>(raw_packet: &mut B) -> Result<Self> in unmarshal() 115 let raw_packet_len = raw_packet.remaining(); in unmarshal() 120 let h = Header::unmarshal(raw_packet)?; in unmarshal() 126 let sender_ssrc = raw_packet.get_u32(); in unmarshal() 127 let media_ssrc = raw_packet.get_u32(); in unmarshal() 131 raw_packet.has_remaining() { in unmarshal() 132 raw_packet.advance(raw_packet.remaining()); in unmarshal()
|
| /webrtc/rtp/src/ |
| H A D | header.rs | 59 let raw_packet_len = raw_packet.remaining(); in unmarshal() 77 let b0 = raw_packet.get_u8(); in unmarshal() 88 let b1 = raw_packet.get_u8(); in unmarshal() 92 let sequence_number = raw_packet.get_u16(); in unmarshal() 93 let timestamp = raw_packet.get_u32(); in unmarshal() 94 let ssrc = raw_packet.get_u32(); in unmarshal() 98 csrc.push(raw_packet.get_u32()); in unmarshal() 106 let extension_profile = raw_packet.get_u16(); in unmarshal() 122 let b = raw_packet.get_u8(); in unmarshal() 148 let b = raw_packet.get_u8(); in unmarshal() [all …]
|
| /webrtc/rtcp/src/sender_report/ |
| H A D | mod.rs | 209 fn unmarshal<B>(raw_packet: &mut B) -> Result<Self> in unmarshal() 251 let raw_packet_len = raw_packet.remaining(); in unmarshal() 256 let header = Header::unmarshal(raw_packet)?; in unmarshal() 261 let ssrc = raw_packet.get_u32(); in unmarshal() 262 let ntp_time = raw_packet.get_u64(); in unmarshal() 263 let rtp_time = raw_packet.get_u32(); in unmarshal() 264 let packet_count = raw_packet.get_u32(); in unmarshal() 265 let octet_count = raw_packet.get_u32(); in unmarshal() 273 let reception_report = ReceptionReport::unmarshal(raw_packet)?; in unmarshal() 277 let profile_extensions = raw_packet.copy_to_bytes(raw_packet.remaining()); in unmarshal()
|
| /webrtc/rtcp/src/goodbye/ |
| H A D | mod.rs | 132 fn unmarshal<B>(raw_packet: &mut B) -> Result<Self> in unmarshal() 150 let raw_packet_len = raw_packet.remaining(); in unmarshal() 152 let header = Header::unmarshal(raw_packet)?; in unmarshal() 169 sources.push(raw_packet.get_u32()); in unmarshal() 173 let reason_len = raw_packet.get_u8() as usize; in unmarshal() 180 raw_packet.copy_to_bytes(reason_len) in unmarshal() 187 raw_packet.has_remaining() { in unmarshal() 188 raw_packet.advance(raw_packet.remaining()); in unmarshal()
|
| /webrtc/rtcp/src/payload_feedbacks/slice_loss_indication/ |
| H A D | mod.rs | 128 fn unmarshal<B>(raw_packet: &mut B) -> Result<Self> in unmarshal() 133 let raw_packet_len = raw_packet.remaining(); in unmarshal() 138 let h = Header::unmarshal(raw_packet)?; in unmarshal() 148 let sender_ssrc = raw_packet.get_u32(); in unmarshal() 149 let media_ssrc = raw_packet.get_u32(); in unmarshal() 154 let sli = raw_packet.get_u32(); in unmarshal() 166 raw_packet.has_remaining() { in unmarshal() 167 raw_packet.advance(raw_packet.remaining()); in unmarshal()
|
| /webrtc/rtcp/src/transport_feedbacks/transport_layer_nack/ |
| H A D | mod.rs | 201 fn unmarshal<B>(raw_packet: &mut B) -> Result<Self, util::Error> in unmarshal() 206 let raw_packet_len = raw_packet.remaining(); in unmarshal() 211 let h = Header::unmarshal(raw_packet)?; in unmarshal() 221 let sender_ssrc = raw_packet.get_u32(); in unmarshal() 222 let media_ssrc = raw_packet.get_u32(); in unmarshal() 227 packet_id: raw_packet.get_u16(), in unmarshal() 228 lost_packets: raw_packet.get_u16(), in unmarshal() 234 raw_packet.has_remaining() { in unmarshal() 235 raw_packet.advance(raw_packet.remaining()); in unmarshal()
|
| /webrtc/rtp/src/extension/transport_cc_extension/ |
| H A D | mod.rs | 29 fn unmarshal<B>(raw_packet: &mut B) -> Result<Self, util::Error> in unmarshal() 34 if raw_packet.remaining() < TRANSPORT_CC_EXTENSION_SIZE { in unmarshal() 37 let b0 = raw_packet.get_u8(); in unmarshal() 38 let b1 = raw_packet.get_u8(); in unmarshal()
|
| /webrtc/rtp/src/extension/abs_send_time_extension/ |
| H A D | mod.rs | 21 fn unmarshal<B>(raw_packet: &mut B) -> Result<Self, util::Error> in unmarshal() 26 if raw_packet.remaining() < ABS_SEND_TIME_EXTENSION_SIZE { in unmarshal() 30 let b0 = raw_packet.get_u8(); in unmarshal() 31 let b1 = raw_packet.get_u8(); in unmarshal() 32 let b2 = raw_packet.get_u8(); in unmarshal()
|
| /webrtc/rtcp/src/receiver_report/ |
| H A D | mod.rs | 158 fn unmarshal<B>(raw_packet: &mut B) -> Result<Self> in unmarshal() 190 let raw_packet_len = raw_packet.remaining(); in unmarshal() 195 let header = Header::unmarshal(raw_packet)?; in unmarshal() 200 let ssrc = raw_packet.get_u32(); in unmarshal() 208 let reception_report = ReceptionReport::unmarshal(raw_packet)?; in unmarshal() 212 let profile_extensions = raw_packet.copy_to_bytes(raw_packet.remaining()); in unmarshal()
|
| /webrtc/rtp/src/extension/audio_level_extension/ |
| H A D | mod.rs | 40 fn unmarshal<B>(raw_packet: &mut B) -> Result<Self, util::Error> in unmarshal() 45 if raw_packet.remaining() < AUDIO_LEVEL_EXTENSION_SIZE { in unmarshal() 49 let b = raw_packet.get_u8(); in unmarshal()
|