Home
last modified time | relevance | path

Searched refs:url (Results 1 – 25 of 30) sorted by relevance

12

/webrtc/webrtc/src/ice_transport/
H A Dice_server.rs15 pub(crate) fn parse_url(&self, url_str: &str) -> Result<ice::url::Url> { in parse_url()
16 Ok(ice::url::Url::parse_url(url_str)?) in parse_url()
24 pub(crate) fn urls(&self) -> Result<Vec<ice::url::Url>> { in urls()
28 let mut url = self.parse_url(url_str)?; in urls() localVariable
29 if url.scheme == ice::url::SchemeType::Turn || url.scheme == ice::url::SchemeType::Turns in urls()
35 url.username = self.username.clone(); in urls()
40 url.password = self.credential.clone(); in urls()
54 urls.push(url); in urls()
H A Dice_gatherer.rs15 use ice::url::Url;
/webrtc/ice/src/url/
H A Durl_test.rs90 let url = Url::parse_url(raw_url)?; in test_parse_url_success() localVariable
92 assert_eq!(url.scheme, expected_scheme, "testCase: {raw_url:?}"); in test_parse_url_success()
95 url.to_string(), in test_parse_url_success()
98 assert_eq!(url.is_secure(), expected_secure, "testCase: {raw_url:?}"); in test_parse_url_success()
99 assert_eq!(url.host, expected_host, "testCase: {raw_url:?}"); in test_parse_url_success()
100 assert_eq!(url.port, expected_port, "testCase: {raw_url:?}"); in test_parse_url_success()
101 assert_eq!(url.proto, expected_proto, "testCase: {raw_url:?}"); in test_parse_url_success()
H A Dmod.rs153 let raw_parts = url::Url::parse(&s)?; in parse_url()
/webrtc/ice/src/agent/
H A Dagent_gather.rs5 use crate::url::{ProtoType, SchemeType, Url};
595 for url in &urls { in gather_candidates_srflx()
598 let url = url.clone(); in gather_candidates_srflx() localVariable
606 let host_port = format!("{}:{}", url.host, url.port); in gather_candidates_srflx()
652 url, in gather_candidates_srflx()
723 for url in urls { in gather_candidates_relay()
724 if url.scheme != SchemeType::Turn && url.scheme != SchemeType::Turns { in gather_candidates_relay()
727 if url.username.is_empty() { in gather_candidates_relay()
752 let turn_server_addr = format!("{}:{}", url.host, url.port); in gather_candidates_relay()
755 if url.proto == ProtoType::Udp && url.scheme == SchemeType::Turn { in gather_candidates_relay()
[all …]
H A Dagent_stats.rs183 pub url: String, field
207 url: String::new(), in default()
H A Dagent_config.rs6 use crate::url::*;
/webrtc/ice/src/
H A Dlib.rs18 pub mod url; module
H A Derror.rs208 ParseUrl(#[from] url::ParseError),
/webrtc/sdp/
H A DCargo.toml14 url = "2.2"
/webrtc/ice/src/stats/
H A Dmod.rs164 pub url: String, field
/webrtc/webrtc/src/api/
H A Dmod.rs59 let url = server.urls()?; in new_ice_gatherer() localVariable
60 validated_servers.extend(url); in new_ice_gatherer()
/webrtc/stun/
H A DCargo.toml22 url = "2.2"
/webrtc/sdp/src/
H A Derror.rs34 ParseUrl(#[from] url::ParseError),
/webrtc/stun/src/
H A Duri.rs53 let raw_parts = url::Url::parse(&s)?; in parse_uri()
H A Derror.rs65 Url(#[from] url::ParseError),
/webrtc/ice/
H A DCargo.toml30 url = "2.2"
/webrtc/ice/src/candidate/
H A Dcandidate_server_reflexive_test.rs6 use crate::url::{SchemeType, Url};
H A Dcandidate_relay_test.rs7 use crate::url::{ProtoType, SchemeType, Url};
/webrtc/sdp/src/extmap/
H A Dmod.rs10 use url::Url;
/webrtc/webrtc/
H A DCargo.toml43 url = "2.2"
/webrtc/webrtc/src/stats/
H A Dmod.rs237 pub url: String, field
253 url: stats.url, in new()
/webrtc/sdp/src/description/
H A Dmedia.rs3 use url::Url;
H A Ddescription_test.rs7 use url::Url;
/webrtc/webrtc/src/
H A Derror.rs417 ParseUrl(#[from] url::ParseError),

12