Home
last modified time | relevance | path

Searched refs:extensions (Results 1 – 22 of 22) sorted by relevance

/webrtc/rtp/src/
H A Dheader.rs49 pub extensions: Vec<Extension>, field
116 let mut extensions = vec![]; in unmarshal() localVariable
173 extensions.push(Extension { in unmarshal()
180 (extension_profile, extensions) in unmarshal()
196 extensions, in unmarshal()
323 .extensions in get_extension_payload_len()
328 let profile_len = self.extensions.len() in get_extension_payload_len()
367 .extensions in set_extension()
402 self.extensions in get_extension()
415 .extensions in del_extension()
[all …]
/webrtc/dtls/src/handshake/
H A Dhandshake_message_server_hello.rs29 pub(crate) extensions: Vec<Extension>, field
37 && self.extensions == other.extensions in eq()
48 format!("extensions: {:?}", self.extensions), in fmt()
70 for extension in &self.extensions { in size()
92 for extension in &self.extensions { in marshal()
116 let mut extensions = vec![]; in unmarshal() localVariable
126 extensions.push(extension); in unmarshal()
147 extensions, in unmarshal()
H A Dhandshake_message_client_hello.rs30 pub(crate) extensions: Vec<Extension>, field
39 && self.extensions == other.extensions in eq()
67 format!("extensions: {:?}", self.extensions), in fmt()
96 for extension in &self.extensions { in size()
128 for extension in &self.extensions { in marshal()
160 let mut extensions = vec![]; in unmarshal() localVariable
170 extensions.push(extension); in unmarshal()
192 extensions, in unmarshal()
H A Dhandshake_test.rs49 extensions: vec![], in test_handshake_message()
/webrtc/rtp/
H A DCHANGELOG.md8 …eric header extensions type `rtp::extension::HeaderExtension` which allows abstracting over all kn…
10 * Allow RTP extensions to be serialized and deserialized via serder. [#332](https://github.com/webr…
/webrtc/webrtc/src/track/track_local/
H A Dtrack_local_static_sample.rs63 extensions: &[rtp::extension::HeaderExtension], in write_sample_with_extensions()
130 .write_rtp_with_extensions(&p, extensions) in write_sample_with_extensions()
252 extensions: Vec<HeaderExtension>, field
259 extensions: vec![], in new()
279 self.extensions.retain(|e| !e.is_same(&ext)); in with_extension()
281 self.extensions.push(ext); in with_extension()
292 .write_sample_with_extensions(sample, &self.extensions) in write_sample()
H A Dtrack_local_static_rtp.rs65 extensions: &[rtp::extension::HeaderExtension], in write_rtp_with_extensions()
76 let extension_data: HashMap<_, _> = extensions in write_rtp_with_extensions()
/webrtc/rtp/src/packet/
H A Dpacket_test.rs33 extensions: vec![Extension { in test_basic()
150 extensions: vec![ in test_packet_marshal_unmarshal()
247 extensions: vec![ in test_rfc_8285_one_byte_two_extension_of_two_bytes()
378 extensions: vec![ in test_rfc_8285_one_byte_multiple_extension()
528 extensions: vec![ in test_rfc8285_two_byte_multiple_extension_with_large_extension()
644 extensions: vec![ in test_rfc8285_get_extension_ids()
670 p.header.extensions.len(), in test_rfc8285_get_extension_ids()
673 p.header.extensions.len() in test_rfc8285_get_extension_ids()
757 p.header.extensions.len(), in test_rfc8285_one_byte_set_extension_should_enable_extension_when_adding()
888 p.header.extensions.len(), in test_rfc8285_one_byte_extension_terminate_processing_when_reserved_id_encountered()
[all …]
/webrtc/dtls/src/flight/
H A Dflight1.rs132 let mut extensions = vec![ in generate() localVariable
142 extensions.extend_from_slice(&[ in generate()
153 extensions.push(Extension::UseSrtp(ExtensionUseSrtp { in generate()
161 extensions.push(Extension::UseExtendedMasterSecret( in generate()
167 extensions.push(Extension::ServerName(ExtensionServerName { in generate()
184 extensions, in generate()
H A Dflight3.rs194 for extension in &h.extensions { in parse()
352 let mut extensions = vec![ in generate() localVariable
362 extensions.extend_from_slice(&[ in generate()
373 extensions.push(Extension::UseSrtp(ExtensionUseSrtp { in generate()
381 extensions.push(Extension::UseExtendedMasterSecret( in generate()
387 extensions.push(Extension::ServerName(ExtensionServerName { in generate()
404 extensions, in generate()
H A Dflight4.rs503 let mut extensions = vec![Extension::RenegotiationInfo(ExtensionRenegotiationInfo { in generate() localVariable
510 extensions.push(Extension::UseExtendedMasterSecret( in generate()
516 extensions.push(Extension::UseSrtp(ExtensionUseSrtp { in generate()
522 extensions.extend_from_slice(&[ in generate()
549 extensions, in generate()
H A Dflight0.rs101 for extension in &client_hello.extensions { in parse()
/webrtc/media/src/io/ivf_writer/
H A Divf_writer_test.rs26 extensions: vec![], in test_ivf_writer_add_packet_and_close()
53 extensions: vec![], in test_ivf_writer_add_packet_and_close()
80 extensions: vec![], in test_ivf_writer_add_packet_and_close()
/webrtc/dtls/src/handshake/handshake_message_server_hello/
H A Dhandshake_message_server_hello_test.rs35 extensions: vec![], in test_handshake_message_server_hello()
/webrtc/media/src/io/ogg_writer/
H A Dogg_writer_test.rs25 extensions: vec![], in test_ogg_writer_add_packet_and_close()
/webrtc/dtls/src/handshake/handshake_message_client_hello/
H A Dhandshake_message_client_hello_test.rs50 extensions: vec![Extension::SupportedEllipticCurves( in test_handshake_message_client_hello()
/webrtc/rtp/benches/
H A Dpacket_bench.rs15 extensions: vec![ in benchmark_packet()
/webrtc/rtp/src/packetizer/
H A Dpacketizer_test.rs76 extensions: vec![Extension { in test_packetizer_abs_send_time()
/webrtc/dtls/src/conn/
H A Dconn_test.rs270 extensions: vec![], in test_sequence_number_overflow_on_handshake()
1810 let extensions = vec![ in test_server_timeout() localVariable
1857 extensions, in test_server_timeout()
1985 extensions: vec![], in test_protocol_version_validation()
2005 extensions: vec![], in test_protocol_version_validation()
2022 extensions: vec![], in test_protocol_version_validation()
2122 extensions: vec![], in test_protocol_version_validation()
2340 let mut extensions = vec![]; in send_client_hello() localVariable
2342 extensions.push(Extension::RenegotiationInfo(ExtensionRenegotiationInfo { in send_client_hello()
2354 extensions, in send_client_hello()
[all …]
/webrtc/constraints/
H A D.gitignore31 !.vscode/extensions.json
/webrtc/webrtc/src/peer_connection/sdp/
H A Dsdp_test.rs1101 let extensions = rtp_extensions_from_media_description(&MediaDescription { in test_rtp_extensions_from_media_description() localVariable
1120 assert_eq!(extensions[sdp::extmap::ABS_SEND_TIME_URI], 1); in test_rtp_extensions_from_media_description()
1121 assert_eq!(extensions[sdp::extmap::SDES_MID_URI], 3); in test_rtp_extensions_from_media_description()
/webrtc/webrtc/src/api/media_engine/
H A Dmod.rs639 let extensions = rtp_extensions_from_media_description(media)?; in update_from_remote_description() localVariable
641 for (extension, id) in extensions { in update_from_remote_description()