Searched refs:attribute (Results 1 – 5 of 5) sorted by relevance
59 for attribute in &media_section.attributes { in from()60 if attribute.key == "setup" { in from()61 if let Some(value) = &attribute.value { in from()
63 pub fn attribute(&self, key: &str) -> Option<Option<&str>> { in attribute() method251 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()
359 pub fn attribute(&self, key: &str) -> Option<&String> { in attribute() method436 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() localVariable1190 lexer.desc.attributes.push(attribute); in unmarshal_session_attribute()1327 let attribute = if fields.len() == 2 { in unmarshal_media_attribute() localVariable1340 latest_media_desc.attributes.push(attribute); in unmarshal_media_attribute()
82 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()
467 let dmsid = match m.attribute(ATTR_KEY_MSID).and_then(|o| o) { in check_negotiation_needed()