Home
last modified time | relevance | path

Searched refs:ConnectionRole (Results 1 – 6 of 6) sorted by relevance

/webrtc/sdp/src/util/
H A Dmod.rs13 pub enum ConnectionRole { enum
35 impl fmt::Display for ConnectionRole { implementation
38 ConnectionRole::Active => CONNECTION_ROLE_ACTIVE_STR, in fmt()
48 impl From<u8> for ConnectionRole { implementation
51 1 => ConnectionRole::Active, in from()
52 2 => ConnectionRole::Passive, in from()
53 3 => ConnectionRole::Actpass, in from()
54 4 => ConnectionRole::Holdconn, in from()
55 _ => ConnectionRole::Unspecified, in from()
60 impl From<&str> for ConnectionRole { implementation
[all …]
/webrtc/webrtc/src/dtls_transport/
H A Ddtls_role.rs2 use sdp::util::ConnectionRole;
79 pub(crate) fn to_connection_role(self) -> ConnectionRole { in to_connection_role() argument
81 DTLSRole::Client => ConnectionRole::Active, in to_connection_role()
82 DTLSRole::Server => ConnectionRole::Passive, in to_connection_role()
83 DTLSRole::Auto => ConnectionRole::Actpass, in to_connection_role()
84 _ => ConnectionRole::Unspecified, in to_connection_role()
/webrtc/webrtc/src/peer_connection/sdp/
H A Dmod.rs29 use sdp::util::ConnectionRole;
297 dtls_role: ConnectionRole,
399 dtls_role: ConnectionRole,
641 pub(crate) connection_role: ConnectionRole,
H A Dsdp_test.rs537 connection_role: ConnectionRole::Active, in fingerprint_test()
/webrtc/webrtc/src/peer_connection/
H A Dmod.rs73 use ::sdp::util::ConnectionRole;
927 if connection_role == ConnectionRole::Unspecified { in create_answer()
H A Dpeer_connection_internal.rs721 connection_role: ConnectionRole, in generate_matched_sdp() argument