| /webrtc/webrtc/src/ice_transport/ |
| H A D | ice_server.rs | 15 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 D | ice_gatherer.rs | 15 use ice::url::Url;
|
| /webrtc/ice/src/url/ |
| H A D | url_test.rs | 90 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 D | mod.rs | 153 let raw_parts = url::Url::parse(&s)?; in parse_url()
|
| /webrtc/ice/src/agent/ |
| H A D | agent_gather.rs | 5 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 D | agent_stats.rs | 183 pub url: String, field 207 url: String::new(), in default()
|
| H A D | agent_config.rs | 6 use crate::url::*;
|
| /webrtc/ice/src/ |
| H A D | lib.rs | 18 pub mod url; module
|
| H A D | error.rs | 208 ParseUrl(#[from] url::ParseError),
|
| /webrtc/sdp/ |
| H A D | Cargo.toml | 14 url = "2.2"
|
| /webrtc/ice/src/stats/ |
| H A D | mod.rs | 164 pub url: String, field
|
| /webrtc/webrtc/src/api/ |
| H A D | mod.rs | 59 let url = server.urls()?; in new_ice_gatherer() localVariable 60 validated_servers.extend(url); in new_ice_gatherer()
|
| /webrtc/stun/ |
| H A D | Cargo.toml | 22 url = "2.2"
|
| /webrtc/sdp/src/ |
| H A D | error.rs | 34 ParseUrl(#[from] url::ParseError),
|
| /webrtc/stun/src/ |
| H A D | uri.rs | 53 let raw_parts = url::Url::parse(&s)?; in parse_uri()
|
| H A D | error.rs | 65 Url(#[from] url::ParseError),
|
| /webrtc/ice/ |
| H A D | Cargo.toml | 30 url = "2.2"
|
| /webrtc/ice/src/candidate/ |
| H A D | candidate_server_reflexive_test.rs | 6 use crate::url::{SchemeType, Url};
|
| H A D | candidate_relay_test.rs | 7 use crate::url::{ProtoType, SchemeType, Url};
|
| /webrtc/sdp/src/extmap/ |
| H A D | mod.rs | 10 use url::Url;
|
| /webrtc/webrtc/ |
| H A D | Cargo.toml | 43 url = "2.2"
|
| /webrtc/webrtc/src/stats/ |
| H A D | mod.rs | 237 pub url: String, field 253 url: stats.url, in new()
|
| /webrtc/sdp/src/description/ |
| H A D | media.rs | 3 use url::Url;
|
| H A D | description_test.rs | 7 use url::Url;
|
| /webrtc/webrtc/src/ |
| H A D | error.rs | 417 ParseUrl(#[from] url::ParseError),
|