Home
last modified time | relevance | path

Searched refs:media_description (Results 1 – 2 of 2) sorted by relevance

/webrtc/sdp/src/description/
H A Dmedia.rs249 let media_description = MediaDescription::default(); in test_attribute_missing() localVariable
251 assert_eq!(media_description.attribute("recvonly"), None); in test_attribute_missing()
256 let media_description = in test_attribute_present_with_no_value() localVariable
259 assert_eq!(media_description.attribute("recvonly"), Some(None)); in test_attribute_present_with_no_value()
264 let media_description = in test_attribute_present_with_value() localVariable
267 assert_eq!(media_description.attribute("ptime"), Some(Some("1"))); in test_attribute_present_with_value()
H A Dsession.rs440 for media_description in &self.media_descriptions { in marshal()
442 key_value_build("m=", Some(&media_description.media_name.to_string())).as_str(); in marshal()
443 result += key_value_build("i=", media_description.media_title.as_ref()).as_str(); in marshal()
444 if let Some(connection_information) = &media_description.connection_information { in marshal()
447 for bandwidth in &media_description.bandwidth { in marshal()
450 result += key_value_build("k=", media_description.encryption_key.as_ref()).as_str(); in marshal()
451 for attribute in &media_description.attributes { in marshal()