Home
last modified time | relevance | path

Searched refs:extension (Results 1 – 25 of 42) sorted by relevance

12

/webrtc/rtp/src/
H A Dheader.rs41 pub extension: bool, field
188 extension, in unmarshal()
205 if self.extension { in marshal_size()
242 if self.extension { in marshal_to()
262 if self.extension { in marshal_to()
325 .map(|extension| extension.payload.len()) in get_extension_payload_len()
340 if self.extension { in set_extension()
369 .find(|extension| extension.id == id) in set_extension()
404 .find(|extension| extension.id == id) in get_extension()
405 .map(|extension| extension.payload.clone()) in get_extension()
[all …]
H A Dlib.rs6 pub mod extension; module
/webrtc/rtp/src/packet/
H A Dpacket_test.rs25 extension: true, in test_basic()
102 extension: true, in test_extension()
147 extension: true, in test_packet_marshal_unmarshal()
185 extension: true, in test_rfc_8285_one_byte_extension()
245 extension: true, in test_rfc_8285_one_byte_two_extension_of_two_bytes()
376 extension: true, in test_rfc_8285_one_byte_multiple_extension()
425 extension: true, in test_rfc_8285_two_byte_extension()
526 extension: true, in test_rfc8285_two_byte_multiple_extension_with_large_extension()
763 Some(extension), in test_rfc8285_one_byte_set_extension_should_enable_extension_when_adding()
834 Some(extension), in test_rfc8285_set_extension_should_update_existing_extension()
[all …]
/webrtc/dtls/src/extension/extension_server_name/
H A Dextension_server_name_test.rs7 let extension = ExtensionServerName { in test_extension_server_name() localVariable
14 extension.marshal(&mut writer)?; in test_extension_server_name()
21 new_extension, extension, in test_extension_server_name()
/webrtc/dtls/src/handshake/
H A Dhandshake_message_server_hello.rs8 use crate::extension::*;
70 for extension in &self.extensions { in size()
71 len += extension.size(); in size()
92 for extension in &self.extensions { in marshal()
93 extension.marshal(&mut extension_writer)?; in marshal()
125 if let Ok(extension) = Extension::unmarshal(&mut extension_reader) { in unmarshal()
126 extensions.push(extension); in unmarshal()
H A Dhandshake_message_client_hello.rs8 use crate::extension::*;
96 for extension in &self.extensions { in size()
97 len += extension.size(); in size()
128 for extension in &self.extensions { in marshal()
129 extension.marshal(&mut extension_writer)?; in marshal()
169 if let Ok(extension) = Extension::unmarshal(&mut extension_reader) { in unmarshal()
170 extensions.push(extension); in unmarshal()
/webrtc/dtls/src/extension/renegotiation_info/
H A Drenegotiation_info_test.rs7 let extension = ExtensionRenegotiationInfo { in test_renegotiation_info() localVariable
14 extension.marshal(&mut writer)?; in test_renegotiation_info()
22 extension.renegotiated_connection in test_renegotiation_info()
/webrtc/dtls/src/flight/
H A Dflight1.rs9 use crate::extension::extension_server_name::*;
10 use crate::extension::extension_supported_elliptic_curves::*;
11 use crate::extension::extension_supported_point_formats::*;
12 use crate::extension::extension_supported_signature_algorithms::*;
13 use crate::extension::extension_use_extended_master_secret::*;
14 use crate::extension::extension_use_srtp::*;
15 use crate::extension::*;
21 use crate::extension::renegotiation_info::ExtensionRenegotiationInfo;
H A Dflight3.rs8 use crate::extension::extension_server_name::*;
9 use crate::extension::extension_supported_elliptic_curves::*;
10 use crate::extension::extension_supported_point_formats::*;
11 use crate::extension::extension_supported_signature_algorithms::*;
12 use crate::extension::extension_use_extended_master_secret::*;
13 use crate::extension::extension_use_srtp::*;
14 use crate::extension::*;
25 use crate::extension::renegotiation_info::ExtensionRenegotiationInfo;
194 for extension in &h.extensions { in parse()
195 match extension { in parse()
H A Dflight0.rs6 use crate::extension::*;
101 for extension in &client_hello.extensions { in parse()
102 match extension { in parse()
H A Dflight4.rs12 use crate::extension::extension_supported_elliptic_curves::*;
13 use crate::extension::extension_supported_point_formats::*;
14 use crate::extension::extension_use_extended_master_secret::*;
15 use crate::extension::extension_use_srtp::*;
16 use crate::extension::*;
28 use crate::extension::renegotiation_info::ExtensionRenegotiationInfo;
/webrtc/rtp/src/extension/
H A Dmod.rs21 extension: Box<dyn Marshal + Send + Sync + 'static>,
61 Custom { extension: ext, .. } => ext.marshal_size(), in marshal_size()
74 Custom { extension: ext, .. } => ext.marshal_to(buf), in marshal_to()
88 Custom { uri, extension: _ } => f.debug_struct("Custom").field("uri", uri).finish(), in fmt()
/webrtc/webrtc/src/track/track_local/
H A Dtrack_local_static_rtp.rs65 extensions: &[rtp::extension::HeaderExtension], in write_rtp_with_extensions()
78 .flat_map(|extension| { in write_rtp_with_extensions()
80 let mut buf = BytesMut::with_capacity(extension.marshal_size()); in write_rtp_with_extensions()
81 buf.resize(extension.marshal_size(), 0); in write_rtp_with_extensions()
82 if let Err(err) = extension.marshal_to(&mut buf) { in write_rtp_with_extensions()
90 Some((extension.uri(), buf)) in write_rtp_with_extensions()
H A Dtrack_local_static_sample.rs63 extensions: &[rtp::extension::HeaderExtension], in write_sample_with_extensions()
243 use rtp::extension::audio_level_extension::AudioLevelExtension;
244 use rtp::extension::video_orientation_extension::VideoOrientationExtension;
245 use rtp::extension::HeaderExtension;
/webrtc/dtls/src/
H A Dlib.rs16 pub mod extension; module
30 use extension::extension_use_srtp::SrtpProtectionProfile;
/webrtc/webrtc/src/api/media_engine/
H A Dmod.rs348 extension: RTCRtpHeaderExtensionCapability, in register_header_extension()
356 .find(|ext| ext.uri == extension.uri) in register_header_extension()
381 ext.uri = extension.uri; in register_header_extension()
411 extension: RTCRtpHeaderExtensionCapability, in get_header_extension_id()
419 if extension.uri == h.uri { in get_header_extension_id()
534 extension: &str, in update_header_extension()
541 if local_extension.uri != extension { in update_header_extension()
547 .find(|(_, ext)| ext.uri == extension); in update_header_extension()
566 uri: extension.to_owned(), in update_header_extension()
641 for (extension, id) in extensions { in update_from_remote_description()
[all …]
H A Dmedia_engine_test.rs183 for extension in [ in test_media_engine_remote_description()
189 uri: extension.to_owned(), in test_media_engine_remote_description()
708 let extension = "urn:3gpp:video-orientation"; in test_extension_id_collision() localVariable
711 uri: extension.to_owned(), in test_extension_id_collision()
717 for extension in [ in test_extension_id_collision()
724 uri: extension.to_owned(), in test_extension_id_collision()
/webrtc/rtp/
H A DCHANGELOG.md8 * Adds a new generic header extensions type `rtp::extension::HeaderExtension` which allows abstract…
9 * Added video orientation(`urn:3gpp:video-orientation`) extension support. [#331](https://github.co…
/webrtc/media/src/io/ivf_writer/
H A Divf_writer_test.rs16 extension: true, in test_ivf_writer_add_packet_and_close()
43 extension: true, in test_ivf_writer_add_packet_and_close()
70 extension: true, in test_ivf_writer_add_packet_and_close()
/webrtc/media/src/io/ogg_writer/
H A Dogg_writer_test.rs15 extension: true, in test_ogg_writer_add_packet_and_close()
/webrtc/dtls/src/handshake/handshake_message_client_hello/
H A Dhandshake_message_client_hello_test.rs3 use crate::extension::extension_supported_elliptic_curves::*;
/webrtc/rtp/src/packetizer/
H A Dmod.rs5 use crate::{extension::abs_send_time_extension::*, header::*, packet::*, sequence::*};
119 extension: false, in packetize()
H A Dpacketizer_test.rs68 extension: true, in test_packetizer_abs_send_time()
/webrtc/rtp/benches/
H A Dpacket_bench.rs12 extension: true, in benchmark_packet()
/webrtc/examples/examples/simulcast/
H A Dsimulcast.rs76 for extension in [ in main()
83 uri: extension.to_owned(), in main()

12