| /webrtc/media/src/io/sample_builder/ |
| H A D | sample_builder_test.rs | 77 timestamp: 5, in test_sample_builder() 94 timestamp: 5, in test_sample_builder() 1236 timestamp: 1, in test_sample_builder_max_late() 1244 timestamp: 2, in test_sample_builder_max_late() 1252 timestamp: 3, in test_sample_builder_max_late() 1271 timestamp: 500, in test_sample_builder_max_late() 1279 timestamp: 501, in test_sample_builder_max_late() 1287 timestamp: 502, in test_sample_builder_max_late() 1308 timestamp: 600, in test_sample_builder_max_late() 1396 timestamp: 0, in test_sample_builder_clean_reference() [all …]
|
| H A D | mod.rs | 91 found_head = Some(packet.header.timestamp); in too_old() 104 found_tail = Some(packet.header.timestamp); in too_old() 126 .timestamp, in fetch_timestamp() 247 let is_same_timestamp = head_timestamp.map(|t| packet.header.timestamp == t); in build_sample() 292 after_timestamp = packet.header.timestamp; in build_sample() 308 self.last_sample_timestamp == Some(p.header.timestamp) && p.payload.is_empty() in build_sample() 348 timestamp: SystemTime::now(), in build_sample() 389 let timestamp = sample.packet_timestamp; in pop_with_timestamp() localVariable 390 Some((sample, timestamp)) in pop_with_timestamp()
|
| /webrtc/rtp/src/extension/abs_send_time_extension/ |
| H A D | mod.rs | 16 pub timestamp: u64, field 33 let timestamp = (b0 as u64) << 16 | (b1 as u64) << 8 | b2 as u64; in unmarshal() localVariable 35 Ok(AbsSendTimeExtension { timestamp }) in unmarshal() 53 buf.put_u8(((self.timestamp & 0xFF0000) >> 16) as u8); in marshal_to() 54 buf.put_u8(((self.timestamp & 0xFF00) >> 8) as u8); in marshal_to() 55 buf.put_u8((self.timestamp & 0xFF) as u8); in marshal_to() 66 let mut ntp = receive_ntp & 0xFFFFFFC000000000 | (self.timestamp & 0xFFFFFF) << 14; in estimate() 78 timestamp: unix2ntp(send_time) >> 14, in new()
|
| H A D | abs_send_time_extension_test.rs | 73 AbsSendTimeExtension { timestamp: 123456 }, in test_abs_send_time_extension_roundtrip() 74 AbsSendTimeExtension { timestamp: 654321 }, in test_abs_send_time_extension_roundtrip() 84 assert_eq!(test.timestamp, out.timestamp); in test_abs_send_time_extension_roundtrip() 101 timestamp: send_ntp >> 14, in test_abs_send_time_extension_estimate()
|
| /webrtc/rtp/src/packetizer/ |
| H A D | mod.rs | 65 pub(crate) timestamp: u32, field 77 .field("timestamp", &self.timestamp) in fmt() 98 timestamp: rand::random::<u32>(), in new_packetizer() 123 timestamp: self.timestamp, //TODO: Figure out how to do timestamps in packetize() 131 self.timestamp = self.timestamp.wrapping_add(samples); in packetize() 155 self.timestamp = self.timestamp.wrapping_add(skipped_samples); in skip_samples()
|
| H A D | packetizer_test.rs | 54 timestamp: 45678, in test_packetizer_abs_send_time() 72 timestamp: 45678, in test_packetizer_abs_send_time()
|
| /webrtc/media/src/ |
| H A D | lib.rs | 26 pub timestamp: SystemTime, field 75 timestamp: SystemTime::now(), in default() 90 if self.timestamp.elapsed().unwrap().as_secs() in eq() 91 != other.timestamp.elapsed().unwrap().as_secs() in eq()
|
| /webrtc/webrtc/src/stats/ |
| H A D | mod.rs | 143 pub timestamp: Instant, field 213 timestamp: stats.timestamp, in from() 224 pub timestamp: Instant, field 252 timestamp: stats.timestamp, in new() 263 pub timestamp: Instant, field 290 pub timestamp: Instant, field 320 pub timestamp: Instant, field 354 pub timestamp: Instant, field 409 pub timestamp: Instant, field 442 pub timestamp: Instant, field [all …]
|
| /webrtc/ice/src/agent/ |
| H A D | agent_stats.rs | 11 pub timestamp: Instant, field 118 timestamp: Instant::now(), in default() 153 pub timestamp: Instant, field 200 timestamp: Instant::now(), in default() 221 timestamp: Instant::now(), in get_candidate_pairs_stats() 240 timestamp: Instant::now(), in get_local_candidates_stats() 265 timestamp: Instant::now(), in get_remote_candidates_stats()
|
| H A D | mod.rs | 49 pub(crate) timestamp: Instant, field 58 timestamp: Instant::now(), in default()
|
| H A D | agent_test.rs | 335 timestamp: Instant::now(), in test_handle_peer_reflexive_unknown_remote() 1557 timestamp: now, // valid in test_binding_request_timeout() 1561 timestamp: now.sub(Duration::from_millis(3900)), // valid in test_binding_request_timeout() 1565 timestamp: now.sub(Duration::from_millis(4100)), // invalid in test_binding_request_timeout() 1569 timestamp: now.sub(Duration::from_secs(75)), // invalid in test_binding_request_timeout()
|
| /webrtc/util/src/vnet/ |
| H A D | chunk.rs | 111 pub(crate) timestamp: SystemTime, field 119 self.timestamp = SystemTime::now(); in set_timestamp() 120 self.timestamp in set_timestamp() 124 self.timestamp in get_timestamp() 197 timestamp: self.chunk_ip.timestamp, in clone_to() 231 timestamp: SystemTime::now(), in new() 304 timestamp: self.chunk_ip.timestamp, in clone_to() 339 timestamp: SystemTime::now(), in new()
|
| /webrtc/rtp/src/packet/ |
| H A D | packet_test.rs | 29 timestamp: 3653407706, in test_basic() 194 timestamp: 3653407706, in test_rfc_8285_one_byte_extension() 260 timestamp: 3653407706, in test_rfc_8285_one_byte_two_extension_of_two_bytes() 395 timestamp: 3653407706, in test_rfc_8285_one_byte_multiple_extension() 437 timestamp: 3653407706, in test_rfc_8285_two_byte_extension() 548 timestamp: 3653407706, in test_rfc8285_two_byte_multiple_extension_with_large_extension() 577 timestamp: 3653407706, in test_rfc8285_get_extension_returns_nil_when_extension_disabled() 611 timestamp: 3653407706, in test_rfc8285_del_extension() 657 timestamp: 3653407706, in test_rfc8285_get_extension_ids() 692 timestamp: 3653407706, in test_rfc8285_get_extension_ids_return_empty_when_extension_disabled() [all …]
|
| H A D | mod.rs | 26 out += format!("\tTimestamp: {}\n", self.header.timestamp).as_str(); in fmt()
|
| /webrtc/ice/src/stats/ |
| H A D | mod.rs | 10 pub timestamp: Instant, field 132 pub timestamp: Instant, field
|
| /webrtc/media/src/io/ivf_reader/ |
| H A D | mod.rs | 36 pub timestamp: u64, // 4-11 field 71 let timestamp = self.reader.read_u64::<LittleEndian>()?; in parse_next_frame() localVariable 74 timestamp, in parse_next_frame()
|
| /webrtc/media/src/io/ivf_writer/ |
| H A D | ivf_writer_test.rs | 22 timestamp: 3653407706, in test_ivf_writer_add_packet_and_close() 49 timestamp: 3653407706, in test_ivf_writer_add_packet_and_close() 76 timestamp: 3653407706, in test_ivf_writer_add_packet_and_close()
|
| /webrtc/examples/examples/swap-tracks/ |
| H A D | swap-tracks.rs | 163 let old_timestamp = rtp.header.timestamp; in main() 165 rtp.header.timestamp = 0 in main() 167 rtp.header.timestamp -= last_timestamp; in main() 254 curr_timestamp += packet.header.timestamp; in main() 255 packet.header.timestamp = curr_timestamp; in main()
|
| /webrtc/rtp/src/ |
| H A D | header.rs | 45 pub timestamp: u32, field 93 let timestamp = raw_packet.get_u32(); in unmarshal() localVariable 192 timestamp, in unmarshal() 255 buf.put_u32(self.timestamp); in marshal_to()
|
| /webrtc/media/src/io/ogg_writer/ |
| H A D | mod.rs | 166 let increment = packet.header.timestamp - self.previous_timestamp; in write_rtp() 169 self.previous_timestamp = packet.header.timestamp; in write_rtp()
|
| H A D | ogg_writer_test.rs | 21 timestamp: 3653407706, in test_ogg_writer_add_packet_and_close()
|
| /webrtc/interceptor/src/report/receiver/ |
| H A D | receiver_stream.rs | 76 - (pkt.header.timestamp as f64 - self.last_rtp_time_rtp as f64); in process_rtp() 80 self.last_rtp_time_rtp = pkt.header.timestamp; in process_rtp()
|
| H A D | receiver_test.rs | 656 timestamp: 42378934, in test_receiver_interceptor_jitter() 669 timestamp: 42378934 + 60000, in test_receiver_interceptor_jitter()
|
| /webrtc/interceptor/src/report/sender/ |
| H A D | sender_stream.rs | 24 self.last_rtp_time_rtp = pkt.header.timestamp; in process_rtp()
|
| /webrtc/webrtc/src/peer_connection/ |
| H A D | peer_connection_internal.rs | 1273 timestamp: Instant::now(), in collect_inbound_stats() 1300 timestamp: Instant::now(), in collect_inbound_stats() 1413 timestamp: Instant::now(), in collect_outbound_stats() 1441 timestamp: Instant::now(), in collect_outbound_stats()
|