stun_rs::attributes

Module ice

source
Expand description

ICE extends STUN with the attributes: Priority, UseCandidate, IceControlled, and IceControlling. These attributes are formally defined in Section 16.1. This section describes the usage of the attributes The attributes are only applicable to ICE connectivity checks.

Structsยง

  • The controlled agent MUST include the IceControlled attribute in a Binding request. The content of this value is used as tiebreaker values when an ICE role conflict occurs
  • The controlling agent MUST include the IceControlling attribute in a Binding request. The content of this value is used as tiebreaker values when an ICE role conflict occurs
  • The Priority attribute MUST be included in a Binding request and be set to the value computed by the algorithm in Section 5.1.2 for the local candidate, but with the candidate type preference of peer-reflexive candidates.
  • The controlling agent MUST include the UseCandidate attribute in order to nominate a candidate pair Section 8.1.1. The controlled agent MUST NOT include the UseCandidate attribute in a Binding request.