Home
last modified time | relevance | path

Searched refs:RTCIceRole (Results 1 – 7 of 7) sorted by relevance

/webrtc/webrtc/src/ice_transport/
H A Dice_role.rs6 pub enum RTCIceRole { enum
24 impl From<&str> for RTCIceRole { implementation
28 ICE_ROLE_CONTROLLED_STR => RTCIceRole::Controlled, in from()
29 _ => RTCIceRole::Unspecified, in from()
34 impl fmt::Display for RTCIceRole { implementation
51 ("Unspecified", RTCIceRole::Unspecified), in test_new_ice_role()
52 ("controlling", RTCIceRole::Controlling), in test_new_ice_role()
53 ("controlled", RTCIceRole::Controlled), in test_new_ice_role()
64 (RTCIceRole::Unspecified, "Unspecified"), in test_ice_role_string()
65 (RTCIceRole::Controlling, "controlling"), in test_ice_role_string()
[all …]
H A Dmod.rs15 use ice_role::RTCIceRole;
58 role: RTCIceRole,
100 pub async fn start(&self, params: &RTCIceParameters, role: Option<RTCIceRole>) -> Result<()> { in start()
148 RTCIceRole::Controlled in start()
159 RTCIceRole::Controlling => { in start()
169 RTCIceRole::Controlled => { in start()
259 pub async fn role(&self) -> RTCIceRole { in role() argument
/webrtc/examples/examples/ortc/
H A Dortc.rs16 use webrtc::ice_transport::ice_role::RTCIceRole;
175 RTCIceRole::Controlling in main()
177 RTCIceRole::Controlled in main()
/webrtc/webrtc/src/dtls_transport/
H A Dmod.rs27 use crate::ice_transport::ice_role::RTCIceRole;
303 if self.ice_transport.role().await == RTCIceRole::Controlling { in role()
/webrtc/webrtc/src/data_channel/
H A Ddata_channel_test.rs21 use crate::ice_transport::ice_role::RTCIceRole;
1309 RTCIceRole::Controlling in set_signal()
1311 RTCIceRole::Controlled in set_signal()
/webrtc/webrtc/src/peer_connection/
H A Dmod.rs39 use crate::ice_transport::ice_role::RTCIceRole;
1535 RTCIceRole::Controlling in set_remote_description()
1537 RTCIceRole::Controlled in set_remote_description()
H A Dpeer_connection_internal.rs597 ice_role: RTCIceRole, in start_transports() argument