Home
last modified time | relevance | path

Searched refs:add (Results 1 – 25 of 75) sorted by relevance

123

/webrtc/interceptor/src/nack/generator/
H A Dgenerator_stream.rs27 fn add(&mut self, seq: u16) { in add() method
147 internal.add(seq); in add()
201 rl.add(seq); in test_generator_stream()
240 add(&mut rl, &[0]); in test_generator_stream()
250 add(&mut rl, &[128]); in test_generator_stream()
304 rl.add(65533); in test_generator_stream_rollover()
305 rl.add(65535); in test_generator_stream_rollover()
306 rl.add(65534); in test_generator_stream_rollover()
310 rl.add(65534); in test_generator_stream_rollover()
311 rl.add(0); in test_generator_stream_rollover()
[all …]
/webrtc/interceptor/src/nack/responder/
H A Dresponder_stream.rs26 fn add(&mut self, packet: &rtp::packet::Packet) { in add() method
77 async fn add(&self, pkt: &rtp::packet::Packet) { in add() method
79 internal.add(pkt); in add()
93 self.add(pkt).await; in write()
112 let add = |sb: &mut ResponderStreamInternal, nums: &[u16]| { in test_responder_stream() localVariable
115 sb.add(&rtp::packet::Packet { in test_responder_stream()
152 add(&mut sb, &[0, 1, 2, 3, 4, 5, 6, 7]); in test_responder_stream()
155 add(&mut sb, &[8]); in test_responder_stream()
159 add(&mut sb, &[10]); in test_responder_stream()
163 add(&mut sb, &[22]); in test_responder_stream()
/webrtc/webrtc/src/api/interceptor_registry/
H A Dmod.rs34 registry.add(receiver); in configure_rtcp_reports()
35 registry.add(sender); in configure_rtcp_reports()
58 registry.add(responder); in configure_nack()
59 registry.add(generator); in configure_nack()
98 registry.add(sender); in configure_twcc()
99 registry.add(receiver); in configure_twcc()
126 registry.add(sender); in configure_twcc_sender_only()
166 registry.add(receiver); in configure_twcc_receiver_only()
/webrtc/interceptor/src/twcc/
H A Dtwcc_test.rs14 c.add(SymbolTypeTcc::PacketNotReceived as u16); in test_chunk_add()
97 c.add(SymbolTypeTcc::PacketReceivedSmallDelta as u16); in test_chunk_add()
99 c.add(SymbolTypeTcc::PacketReceivedSmallDelta as u16); in test_chunk_add()
101 c.add(SymbolTypeTcc::PacketReceivedSmallDelta as u16); in test_chunk_add()
131 c.add(SymbolTypeTcc::PacketNotReceived as u16); in test_chunk_add()
133 c.add(SymbolTypeTcc::PacketNotReceived as u16); in test_chunk_add()
135 c.add(SymbolTypeTcc::PacketNotReceived as u16); in test_chunk_add()
137 c.add(SymbolTypeTcc::PacketNotReceived as u16); in test_chunk_add()
139 c.add(SymbolTypeTcc::PacketNotReceived as u16); in test_chunk_add()
141 c.add(SymbolTypeTcc::PacketNotReceived as u16); in test_chunk_add()
[all …]
H A Dmod.rs155 self.last_chunk.add(SymbolTypeTcc::PacketNotReceived as u16); in add_received()
171 self.last_chunk.add(recv_delta as u16); in add_received()
214 fn add(&mut self, delta: u16) { in add() method
/webrtc/ice/src/control/
H A Dcontrol_test.rs28 m3.add(ATTR_ICE_CONTROLLED, &[0; 100]); in test_controlled_get_from()
65 m3.add(ATTR_ICE_CONTROLLING, &[0; 100]); in test_controlling_get_from()
118 m3.add(ATTR_ICE_CONTROLLING, &[0; 100]); in test_control_get_from()
156 m3.add(ATTR_ICE_CONTROLLING, &[0; 100]); in test_control_get_from()
/webrtc/turn/src/proto/reqfamily/
H A Dreqfamily_test.rs58 m.add(ATTR_REQUESTED_ADDRESS_FAMILY, &[1, 2, 3]); in test_requested_address_family_add_to()
68 m.add(ATTR_REQUESTED_ADDRESS_FAMILY, &[5, 0, 0, 0]); in test_requested_address_family_add_to()
/webrtc/turn/src/proto/
H A Ddontfrag.rs14 m.add(ATTR_DONT_FRAGMENT, &[]); in add_to()
H A Ddata.rs22 m.add(ATTR_DATA, &self.0); in add_to()
H A Drsrvtoken.rs27 m.add(ATTR_RESERVATION_TOKEN, &self.0); in add_to()
H A Dreqtrans.rs39 m.add(ATTR_REQUESTED_TRANSPORT, &v); in add_to()
H A Devenport.rs45 m.add(ATTR_EVEN_PORT, &v); in add_to()
H A Dchannum.rs40 m.add(ATTR_CHANNEL_NUMBER, &v); in add_to()
H A Dreqfamily.rs40 m.add(ATTR_REQUESTED_ADDRESS_FAMILY, &v); in add_to()
/webrtc/ice/src/use_candidate/
H A Dmod.rs14 m.add(ATTR_USE_CANDIDATE, &[]); in add_to()
/webrtc/stun/src/xoraddr/
H A Dxoraddr_test.rs42 m.add(ATTR_XORMAPPED_ADDRESS, &addr_value); in test_xormapped_address_get_from()
60 m.add(ATTR_XORMAPPED_ADDRESS, &[0, 1, 3, 4]); in test_xormapped_address_get_from()
82 m.add( in test_xormapped_address_get_from()
/webrtc/stun/src/uattrs/
H A Duattrs_test.rs31 m_blank.add(ATTR_UNKNOWN_ATTRIBUTES, &[1, 2, 3]); in test_unknown_attributes()
/webrtc/ice/src/priority/
H A Dmod.rs19 m.add(ATTR_PRIORITY, &v); in add_to()
H A Dpriority_test.rs28 m3.add(ATTR_PRIORITY, &[0; 100]); in test_priority_get_from()
/webrtc/turn/src/proto/channum/
H A Dchannnum_test.rs67 m.add(ATTR_CHANNEL_NUMBER, &[1, 2, 3]); in test_channel_number_add_to()
/webrtc/stun/src/textattrs/
H A Dtextattrs_test.rs11 m.add(ATTR_SOFTWARE, v.as_bytes()); in test_software_get_from()
152 m.add(ATTR_REALM, v.as_bytes()); in test_realm_get_from()
225 m.add(ATTR_NONCE, v.as_bytes()); in test_nonce_get_from()
/webrtc/turn/src/proto/lifetime/
H A Dlifetime_test.rs40 m.add(ATTR_LIFETIME, &[1, 2, 3]); in test_lifetime_add_to()
/webrtc/turn/src/proto/rsrvtoken/
H A Drsrvtoken_test.rs47 m.add(ATTR_RESERVATION_TOKEN, &[1, 2, 3]); in test_reservation_token()
/webrtc/turn/src/proto/reqtrans/
H A Dreqtrans_test.rs62 m.add(ATTR_REQUESTED_TRANSPORT, &[1, 2, 3]); in test_requested_transport_add_to()
/webrtc/interceptor/src/
H A Dregistry.rs20 pub fn add(&mut self, builder: Box<dyn InterceptorBuilder + Send + Sync>) { in add() method

123