Home
last modified time | relevance | path

Searched refs:attribute (Results 1 – 5 of 5) sorted by relevance

/webrtc/webrtc/src/dtls_transport/
H A Ddtls_role.rs59 for attribute in &media_section.attributes { in from()
60 if attribute.key == "setup" { in from()
61 if let Some(value) = &attribute.value { in from()
/webrtc/sdp/src/description/
H A Dmedia.rs63 pub fn attribute(&self, key: &str) -> Option<Option<&str>> { in attribute() method
251 assert_eq!(media_description.attribute("recvonly"), None); in test_attribute_missing()
259 assert_eq!(media_description.attribute("recvonly"), Some(None)); in test_attribute_present_with_no_value()
267 assert_eq!(media_description.attribute("ptime"), Some(Some("1"))); in test_attribute_present_with_value()
H A Dsession.rs359 pub fn attribute(&self, key: &str) -> Option<&String> { in attribute() method
436 for attribute in &self.attributes { in marshal()
437 result += key_value_build("a=", Some(&attribute.to_string())).as_str(); in marshal()
451 for attribute in &media_description.attributes { in marshal()
452 result += key_value_build("a=", Some(&attribute.to_string())).as_str(); in marshal()
1179 let attribute = if fields.len() == 2 { in unmarshal_session_attribute() localVariable
1190 lexer.desc.attributes.push(attribute); in unmarshal_session_attribute()
1327 let attribute = if fields.len() == 2 { in unmarshal_media_attribute() localVariable
1340 latest_media_desc.attributes.push(attribute); in unmarshal_media_attribute()
/webrtc/webrtc/src/peer_connection/sdp/
H A Dmod.rs82 if media.attribute(ATTR_KEY_RECV_ONLY).is_some() in track_details_from_sdp()
83 || (exclude_inactive && media.attribute(ATTR_KEY_INACTIVE).is_some()) in track_details_from_sdp()
753 if let Some(fingerprint) = desc.attribute("fingerprint") { in extract_fingerprint()
758 if let Some(fingerprint) = m.attribute("fingerprint").and_then(|o| o) { in extract_fingerprint()
788 if let Some(ufrag) = desc.attribute("ice-ufrag") { in extract_ice_details()
791 if let Some(pwd) = desc.attribute("ice-pwd") { in extract_ice_details()
796 if let Some(ufrag) = m.attribute("ice-ufrag").and_then(|o| o) { in extract_ice_details()
799 if let Some(pwd) = m.attribute("ice-pwd").and_then(|o| o) { in extract_ice_details()
851 if let Some(mid) = m.attribute(ATTR_KEY_MID).flatten() { in get_by_mid()
/webrtc/webrtc/src/peer_connection/
H A Dmod.rs467 let dmsid = match m.attribute(ATTR_KEY_MSID).and_then(|o| o) { in check_negotiation_needed()