| /webrtc/sdp/src/description/ |
| H A D | description_test.rs | 9 const CANONICAL_MARSHAL_SDP: &str = "v=0\r\n\ 182 const BASE_SDP: &str = "v=0\r\n\ 219 const URI_SDP: &str = "v=0\r\n\ 225 const EMAIL_ADDRESS_SDP: &str = "v=0\r\n\ 231 const PHONE_NUMBER_SDP: &str = "v=0\r\n\ 250 const TIMING_SDP: &str = "v=0\r\n\ 258 const REPEAT_TIMES_SDP: &str = "v=0\r\n\ 289 const TIME_ZONES_SDP: &str = "v=0\r\n\ 301 const TIME_ZONES_SDP2: &str = "v=0\r\n\ 333 const MEDIA_NAME_SDP: &str = "v=0\r\n\ [all …]
|
| /webrtc/sdp/src/util/ |
| H A D | mod.rs | 9 pub const ATTRIBUTE_KEY: &str = "a="; 30 const CONNECTION_ROLE_ACTIVE_STR: &str = "active"; 31 const CONNECTION_ROLE_PASSIVE_STR: &str = "passive"; 32 const CONNECTION_ROLE_ACTPASS_STR: &str = "actpass"; 33 const CONNECTION_ROLE_HOLDCONN_STR: &str = "holdconn"; 60 impl From<&str> for ConnectionRole { 61 fn from(raw: &str) -> Self { in from() 120 let split: Vec<&str> = split[1].split('/').collect(); in parse_rtpmap() 143 pub(crate) fn parse_fmtp(fmtp: &str) -> Result<Codec> { in parse_fmtp() 152 let split: Vec<&str> = split[0].split(':').collect(); in parse_fmtp() [all …]
|
| /webrtc/turn/src/auth/ |
| H A D | mod.rs | 13 fn auth_handle(&self, username: &str, realm: &str, src_addr: SocketAddr) -> Result<Vec<u8>>; in auth_handle() argument 18 shared_secret: &str, in generate_long_term_credentials() argument 27 fn long_term_credentials(username: &str, shared_secret: &str) -> String { in long_term_credentials() argument 37 pub fn generate_auth_key(username: &str, realm: &str, password: &str) -> Vec<u8> { in generate_auth_key() argument 50 fn auth_handle(&self, username: &str, realm: &str, src_addr: SocketAddr) -> Result<Vec<u8>> { in auth_handle() argument
|
| /webrtc/sdp/src/direction/ |
| H A D | mod.rs | 21 const DIRECTION_SEND_RECV_STR: &str = "sendrecv"; 22 const DIRECTION_SEND_ONLY_STR: &str = "sendonly"; 23 const DIRECTION_RECV_ONLY_STR: &str = "recvonly"; 24 const DIRECTION_INACTIVE_STR: &str = "inactive"; 25 const DIRECTION_UNSPECIFIED_STR: &str = "Unspecified"; 42 pub fn new(raw: &str) -> Self { in new()
|
| /webrtc/webrtc/src/ice_transport/ |
| H A D | ice_connection_state.rs | 44 const ICE_CONNECTION_STATE_NEW_STR: &str = "new"; 45 const ICE_CONNECTION_STATE_CHECKING_STR: &str = "checking"; 46 const ICE_CONNECTION_STATE_CONNECTED_STR: &str = "connected"; 47 const ICE_CONNECTION_STATE_COMPLETED_STR: &str = "completed"; 48 const ICE_CONNECTION_STATE_DISCONNECTED_STR: &str = "disconnected"; 49 const ICE_CONNECTION_STATE_FAILED_STR: &str = "failed"; 50 const ICE_CONNECTION_STATE_CLOSED_STR: &str = "closed"; 53 impl From<&str> for RTCIceConnectionState { 54 fn from(raw: &str) -> Self { in from()
|
| H A D | ice_gatherer_state.rs | 25 const ICE_GATHERED_STATE_NEW_STR: &str = "new"; 26 const ICE_GATHERED_STATE_GATHERING_STR: &str = "gathering"; 27 const ICE_GATHERED_STATE_COMPLETE_STR: &str = "complete"; 28 const ICE_GATHERED_STATE_CLOSED_STR: &str = "closed"; 30 impl From<&str> for RTCIceGathererState { 31 fn from(raw: &str) -> Self { in from()
|
| H A D | ice_transport_state.rs | 47 const ICE_TRANSPORT_STATE_NEW_STR: &str = "new"; 48 const ICE_TRANSPORT_STATE_CHECKING_STR: &str = "checking"; 49 const ICE_TRANSPORT_STATE_CONNECTED_STR: &str = "connected"; 50 const ICE_TRANSPORT_STATE_COMPLETED_STR: &str = "completed"; 51 const ICE_TRANSPORT_STATE_FAILED_STR: &str = "failed"; 52 const ICE_TRANSPORT_STATE_DISCONNECTED_STR: &str = "disconnected"; 53 const ICE_TRANSPORT_STATE_CLOSED_STR: &str = "closed"; 55 impl From<&str> for RTCIceTransportState { 56 fn from(raw: &str) -> Self { in from()
|
| H A D | ice_gathering_state.rs | 23 const ICE_GATHERING_STATE_NEW_STR: &str = "new"; 24 const ICE_GATHERING_STATE_GATHERING_STR: &str = "gathering"; 25 const ICE_GATHERING_STATE_COMPLETE_STR: &str = "complete"; 28 impl From<&str> for RTCIceGatheringState { 29 fn from(raw: &str) -> Self { in from()
|
| H A D | ice_candidate_type.rs | 42 const ICE_CANDIDATE_TYPE_HOST_STR: &str = "host"; 43 const ICE_CANDIDATE_TYPE_SRFLX_STR: &str = "srflx"; 44 const ICE_CANDIDATE_TYPE_PRFLX_STR: &str = "prflx"; 45 const ICE_CANDIDATE_TYPE_RELAY_STR: &str = "relay"; 48 impl From<&str> for RTCIceCandidateType { 49 fn from(raw: &str) -> Self { in from()
|
| H A D | ice_role.rs | 21 const ICE_ROLE_CONTROLLING_STR: &str = "controlling"; 22 const ICE_ROLE_CONTROLLED_STR: &str = "controlled"; 24 impl From<&str> for RTCIceRole { 25 fn from(raw: &str) -> Self { in from()
|
| H A D | ice_credential_type.rs | 20 const ICE_CREDENTIAL_TYPE_PASSWORD_STR: &str = "password"; 21 const ICE_CREDENTIAL_TYPE_OAUTH_STR: &str = "oauth"; 23 impl From<&str> for RTCIceCredentialType { 24 fn from(raw: &str) -> Self { in from()
|
| /webrtc/sdp/src/extmap/ |
| H A D | mod.rs | 18 pub const ABS_SEND_TIME_URI: &str = "http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time"; 19 pub const TRANSPORT_CC_URI: &str = 21 pub const SDES_MID_URI: &str = "urn:ietf:params:rtp-hdrext:sdes:mid"; 22 pub const SDES_RTP_STREAM_ID_URI: &str = "urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id"; 23 pub const AUDIO_LEVEL_URI: &str = "urn:ietf:params:rtp-hdrext:ssrc-audio-level"; 24 pub const VIDEO_ORIENTATION_URI: &str = "urn:3gpp:video-orientation"; 67 let parts: Vec<&str> = line.trim().splitn(2, ':').collect(); in unmarshal() 72 let fields: Vec<&str> = parts[1].split_whitespace().collect(); in unmarshal() 77 let valdir: Vec<&str> = fields[0].split('/').collect(); in unmarshal()
|
| H A D | extmap_test.rs | 8 const EXAMPLE_ATTR_EXTMAP1: &str = "extmap:1 http://example.com/082005/ext.htm#ttime"; 9 const EXAMPLE_ATTR_EXTMAP2: &str = 11 const FAILING_ATTR_EXTMAP1: &str = 13 const FAILING_ATTR_EXTMAP2: &str = "extmap:2/blorg http://example.com/082005/ext.htm#xmeta short";
|
| /webrtc/webrtc/src/rtp_transceiver/fmtp/ |
| H A D | mod.rs | 15 fn mime_type(&self) -> &str; in mime_type() argument 23 fn parameter(&self, key: &str) -> Option<&String>; in parameter() 36 pub fn parse(mime_type: &str, line: &str) -> Box<dyn Fmtp> { in parse() argument 38 for p in line.split(';').collect::<Vec<&str>>() { in parse() 39 let pp: Vec<&str> = p.trim().splitn(2, '=').collect(); in parse()
|
| /webrtc/webrtc/src/peer_connection/ |
| H A D | peer_connection_state.rs | 39 const PEER_CONNECTION_STATE_NEW_STR: &str = "new"; 40 const PEER_CONNECTION_STATE_CONNECTING_STR: &str = "connecting"; 41 const PEER_CONNECTION_STATE_CONNECTED_STR: &str = "connected"; 42 const PEER_CONNECTION_STATE_DISCONNECTED_STR: &str = "disconnected"; 43 const PEER_CONNECTION_STATE_FAILED_STR: &str = "failed"; 44 const PEER_CONNECTION_STATE_CLOSED_STR: &str = "closed"; 46 impl From<&str> for RTCPeerConnectionState { 47 fn from(raw: &str) -> Self { in from()
|
| /webrtc/webrtc/src/dtls_transport/ |
| H A D | dtls_transport_state.rs | 32 const DTLS_TRANSPORT_STATE_NEW_STR: &str = "new"; 33 const DTLS_TRANSPORT_STATE_CONNECTING_STR: &str = "connecting"; 34 const DTLS_TRANSPORT_STATE_CONNECTED_STR: &str = "connected"; 35 const DTLS_TRANSPORT_STATE_CLOSED_STR: &str = "closed"; 36 const DTLS_TRANSPORT_STATE_FAILED_STR: &str = "failed"; 38 impl From<&str> for RTCDtlsTransportState { 39 fn from(raw: &str) -> Self { in from()
|
| /webrtc/webrtc/src/ |
| H A D | lib.rs | 37 pub(crate) const UNSPECIFIED_STR: &str = "Unspecified"; 42 pub(crate) const SDP_ATTRIBUTE_RID: &str = "rid"; 43 pub(crate) const GENERATED_CERTIFICATE_ORIGIN: &str = "WebRTC"; 44 pub(crate) const SDES_REPAIR_RTP_STREAM_ID_URI: &str =
|
| /webrtc/webrtc/src/peer_connection/sdp/ |
| H A D | sdp_type.rs | 37 const SDP_TYPE_OFFER_STR: &str = "offer"; 38 const SDP_TYPE_PRANSWER_STR: &str = "pranswer"; 39 const SDP_TYPE_ANSWER_STR: &str = "answer"; 40 const SDP_TYPE_ROLLBACK_STR: &str = "rollback"; 43 impl From<&str> for RTCSdpType { 44 fn from(raw: &str) -> Self { in from()
|
| /webrtc/webrtc/src/data_channel/ |
| H A D | data_channel_state.rs | 33 const DATA_CHANNEL_STATE_CONNECTING_STR: &str = "connecting"; 34 const DATA_CHANNEL_STATE_OPEN_STR: &str = "open"; 35 const DATA_CHANNEL_STATE_CLOSING_STR: &str = "closing"; 36 const DATA_CHANNEL_STATE_CLOSED_STR: &str = "closed"; 50 impl From<&str> for RTCDataChannelState { 51 fn from(raw: &str) -> Self { in from()
|
| /webrtc/webrtc/src/peer_connection/policy/ |
| H A D | sdp_semantics.rs | 32 const SDP_SEMANTICS_UNIFIED_PLAN_WITH_FALLBACK: &str = "unified-plan-with-fallback"; 33 const SDP_SEMANTICS_UNIFIED_PLAN: &str = "unified-plan"; 34 const SDP_SEMANTICS_PLAN_B: &str = "plan-b"; 36 impl From<&str> for RTCSdpSemantics { 37 fn from(raw: &str) -> Self { in from() 98 let fields: Vec<&str> = value.split_whitespace().collect(); in extract_ssrc_list()
|
| H A D | bundle_policy.rs | 34 const BUNDLE_POLICY_BALANCED_STR: &str = "balanced"; 35 const BUNDLE_POLICY_MAX_COMPAT_STR: &str = "max-compat"; 36 const BUNDLE_POLICY_MAX_BUNDLE_STR: &str = "max-bundle"; 38 impl From<&str> for RTCBundlePolicy { 41 fn from(raw: &str) -> Self { in from()
|
| H A D | ice_transport_policy.rs | 24 const ICE_TRANSPORT_POLICY_RELAY_STR: &str = "relay"; 25 const ICE_TRANSPORT_POLICY_ALL_STR: &str = "all"; 28 impl From<&str> for RTCIceTransportPolicy { 29 fn from(raw: &str) -> Self { in from()
|
| H A D | rtcp_mux_policy.rs | 25 const RTCP_MUX_POLICY_NEGOTIATE_STR: &str = "negotiate"; 26 const RTCP_MUX_POLICY_REQUIRE_STR: &str = "require"; 28 impl From<&str> for RTCRtcpMuxPolicy { 29 fn from(raw: &str) -> Self { in from()
|
| /webrtc/webrtc/src/sctp_transport/ |
| H A D | sctp_transport_state.rs | 26 const SCTP_TRANSPORT_STATE_CONNECTING_STR: &str = "connecting"; 27 const SCTP_TRANSPORT_STATE_CONNECTED_STR: &str = "connected"; 28 const SCTP_TRANSPORT_STATE_CLOSED_STR: &str = "closed"; 30 impl From<&str> for RTCSctpTransportState { 31 fn from(raw: &str) -> Self { in from()
|
| /webrtc/interceptor/src/mock/ |
| H A D | mock_builder.rs | 9 pub build: Box<dyn (Fn(&str) -> MockBuilderResult) + Send + Sync + 'static>, 13 pub fn new<F: (Fn(&str) -> MockBuilderResult) + Send + Sync + 'static>(f: F) -> Self { in new() 19 fn build(&self, id: &str) -> MockBuilderResult { in build()
|