| /webrtc/dtls/src/extension/ |
| H A D | mod.rs | 64 Extension::ServerName(ext) => ext.extension_value(), in extension_value() 68 Extension::UseSrtp(ext) => ext.extension_value(), in extension_value() 78 Extension::ServerName(ext) => ext.size(), in size() 79 Extension::SupportedEllipticCurves(ext) => ext.size(), in size() 80 Extension::SupportedPointFormats(ext) => ext.size(), in size() 82 Extension::UseSrtp(ext) => ext.size(), in size() 83 Extension::UseExtendedMasterSecret(ext) => ext.size(), in size() 84 Extension::RenegotiationInfo(ext) => ext.size(), in size() 93 Extension::ServerName(ext) => ext.marshal(writer), in marshal() 97 Extension::UseSrtp(ext) => ext.marshal(writer), in marshal() [all …]
|
| /webrtc/rtp/src/extension/ |
| H A D | mod.rs | 57 AbsSendTime(ext) => ext.marshal_size(), in marshal_size() 58 AudioLevel(ext) => ext.marshal_size(), in marshal_size() 59 TransportCc(ext) => ext.marshal_size(), in marshal_size() 60 VideoOrientation(ext) => ext.marshal_size(), in marshal_size() 61 Custom { extension: ext, .. } => ext.marshal_size(), in marshal_size() 70 AbsSendTime(ext) => ext.marshal_to(buf), in marshal_to() 71 AudioLevel(ext) => ext.marshal_to(buf), in marshal_to() 72 TransportCc(ext) => ext.marshal_to(buf), in marshal_to() 73 VideoOrientation(ext) => ext.marshal_to(buf), in marshal_to() 74 Custom { extension: ext, .. } => ext.marshal_to(buf), in marshal_to() [all …]
|
| /webrtc/webrtc/src/track/track_local/ |
| H A D | track_local_static_sample.rs | 266 pub fn with_audio_level(self, ext: AudioLevelExtension) -> Self { in with_audio_level() 267 self.with_extension(HeaderExtension::AudioLevel(ext)) in with_audio_level() 273 pub fn with_video_orientation(self, ext: VideoOrientationExtension) -> Self { in with_video_orientation() 274 self.with_extension(HeaderExtension::VideoOrientation(ext)) in with_video_orientation() 278 pub fn with_extension(mut self, ext: HeaderExtension) -> Self { in with_extension() 279 self.extensions.retain(|e| !e.is_same(&ext)); in with_extension() 281 self.extensions.push(ext); in with_extension()
|
| H A D | track_local_static_rtp.rs | 107 .find(|ext| &ext.uri == uri) in write_rtp_with_extensions() 108 .map(|ext| ext.id) in write_rtp_with_extensions()
|
| /webrtc/interceptor/src/twcc/receiver/ |
| H A D | receiver_stream.rs | 39 if let Some(mut ext) = p.header.get_extension(self.hdr_ext_id) { in read() 40 let tcc_ext = TransportCcExtension::unmarshal(&mut ext)?; in read()
|
| /webrtc/webrtc/src/api/media_engine/ |
| H A D | mod.rs | 352 let ext = { in register_header_extension() localVariable 356 .find(|ext| ext.uri == extension.uri) in register_header_extension() 358 Some(ext) => ext, in register_header_extension() 376 ext.is_audio = true; in register_header_extension() 378 ext.is_video = true; in register_header_extension() 381 ext.uri = extension.uri; in register_header_extension() 383 if ext.allowed_direction != allowed_direction { in register_header_extension() 547 .find(|(_, ext)| ext.uri == extension); in update_header_extension()
|
| H A D | media_engine_test.rs | 771 .find(|ext| ext.uri == "urn:3gpp:video-orientation") in test_extension_id_collision()
|
| /webrtc/rtp/src/packet/ |
| H A D | packet_test.rs | 473 let ext = p.header.get_extension(1); in test_rfc8285_two_byte_multiple_extension_with_padding() localVariable 476 ext, ext_expect, in test_rfc8285_two_byte_multiple_extension_with_padding() 480 let ext = p.header.get_extension(2); in test_rfc8285_two_byte_multiple_extension_with_padding() localVariable 483 ext, ext_expect, in test_rfc8285_two_byte_multiple_extension_with_padding() 487 let ext = p.header.get_extension(3); in test_rfc8285_two_byte_multiple_extension_with_padding() localVariable 490 ext, ext_expect, in test_rfc8285_two_byte_multiple_extension_with_padding() 619 let ext = p.header.get_extension(1); in test_rfc8285_del_extension() localVariable 620 assert!(ext.is_some(), "Extension should exist"); in test_rfc8285_del_extension() 624 let ext = p.header.get_extension(1); in test_rfc8285_del_extension() localVariable 625 assert!(ext.is_none(), "Extension should not exist"); in test_rfc8285_del_extension() [all …]
|