View Source ExICE.CandidatePair (ex_ice v0.5.0)
Module representing ICE candidate pair.
Summary
Types
@type state() :: :waiting | :in_progress | :succeeded | :failed | :frozen
@type t() :: %ExICE.CandidatePair{ discovered_pair_id: integer() | nil, id: integer(), keepalive_timer: reference() | nil, local_cand: ExICE.Candidate.t(), nominate?: boolean(), nominated?: boolean(), priority: non_neg_integer(), remote_cand: ExICE.Candidate.t(), state: state(), succeeded_pair_id: integer() | nil, valid?: boolean() }
Functions
@spec recompute_priority(t(), ExICE.ICEAgent.role()) :: t()
@spec schedule_keepalive(t(), Process.dest()) :: t()