Skip to main content

ring_early_with_policy

Function ring_early_with_policy 

Source
pub async fn ring_early_with_policy(
    endpoint: &Handle,
    incoming: &Incoming,
    status: u16,
    reason: &'static str,
    media_address: IpAddr,
    policy: MediaPolicy,
) -> Result<Ringing>
Expand description

ring_early, using one coherent codec and ICE policy.

ICE has to be selected here because the answer and its candidates leave in the provisional; crate::answer_early only confirms the already-completed exchange.