Searched refs:policy (Results 1 – 8 of 8) sorted by relevance
3 use crate::peer_connection::policy::bundle_policy::RTCBundlePolicy;4 use crate::peer_connection::policy::ice_transport_policy::RTCIceTransportPolicy;5 use crate::peer_connection::policy::rtcp_mux_policy::RTCRtcpMuxPolicy;
10 pub mod policy; module
119 let policy = FirstPolicy::default(); in first() localVariable121 let actual = policy.select_candidate(&settings); in first()179 let policy = ClosestToIdealPolicy::new(ideal.clone(), &supported_constraints); in closest_to_ideal() localVariable181 let actual = policy.select_candidate(&settings); in closest_to_ideal()
72 for (policy, expected_string) in tests { in test_ice_transport_policy_string()73 assert_eq!(policy.to_string(), expected_string); in test_ice_transport_policy_string()
74 for (policy, expected_string) in tests { in test_rtcp_mux_policy_string()75 assert_eq!(policy.to_string(), expected_string); in test_rtcp_mux_policy_string()
89 for (policy, expected_string) in tests { in test_bundle_policy_string()90 assert_eq!(policy.to_string(), expected_string); in test_bundle_policy_string()
8 use crate::peer_connection::policy::ice_transport_policy::RTCIceTransportPolicy;
110 Our minimum supported rust version(MSRV) policy is to support versions of the compiler released wit…