• Fabrice Bellet's avatar
    conncheck: link succeeded and discovered pairs · 582482df
    Fabrice Bellet authored
    When the agent has the role of the stun server, is in controlled mode,
    and receives a pair with the "use-candidate" attribute set, it must find
    a matching succeded or discovered pair in its conncheck list. This is
    described in ICE spec, "Updating the Nominated Flag", item #1.
    When a matching pair is in succeeded state, the agent must nominate the
    valid pair (a discovered pair) constructed from section,
    that's been created from this succeeded one. To make this lookup, we
    introduce a new "discovered_pair" member of the CandidateCheckPair
    struct, that links the succeeded pair, and its discovered pair
    if any.
    Differential Revision: https://phabricator.freedesktop.org/D878
conncheck.c 148 KB