<?xml version='1.0' encoding='utf-8'?>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" version="3" category="std" consensus="true" docName="draft-ietf-mmusic-ice-sip-sdp-39" indexInclude="true" ipr="pre5378Trust200902" number="8839" obsoletes="5245, 6336" prepTime="2021-01-17T17:03:13" scripts="Common,Latin" sortRefs="true" submissionType="IETF" symRefs="true" tocDepth="3" tocInclude="true" xml:lang="en">
  <link href="https://datatracker.ietf.org/doc/draft-ietf-mmusic-ice-sip-sdp-39" rel="prev"/>
  <link href="https://dx.doi.org/10.17487/rfc8839" rel="alternate"/>
  <link href="urn:issn:2070-1721" rel="alternate"/>
  <front>
    <title abbrev="ICE SDP Usage">Session Description Protocol (SDP) Offer/Answer Procedures for Interactive Connectivity Establishment (ICE)</title>
    <seriesInfo name="RFC" value="8839" stream="IETF"/>
    <author surname="Petit-Huguenin" initials="M." fullname="Marc Petit-Huguenin">
      <organization showOnFrontPage="true">Impedance Mismatch</organization>
      <address>
        <email>marc@petit-huguenin.org</email>
      </address>
    </author>
    <author surname="Nandakumar" initials="S." fullname="Suhas Nandakumar">
      <organization showOnFrontPage="true">Cisco Systems</organization>
      <address>
        <postal>
          <street>707 Tasman Dr</street>
          <city>Milpitas</city>
          <region>CA</region>
          <code>95035</code>
          <country>United States of America</country>
        </postal>
        <email>snandaku@cisco.com</email>
      </address>
    </author>
    <author fullname="Christer Holmberg" initials="C." surname="Holmberg">
      <organization abbrev="Ericsson" showOnFrontPage="true">Ericsson</organization>
      <address>
        <postal>
          <street>Hirsalantie 11</street>
          <city>Jorvas</city>
          <region/>
          <code>02420</code>
          <country>Finland</country>
        </postal>
        <email>christer.holmberg@ericsson.com</email>
      </address>
    </author>
    <author surname="Keränen" initials="A." fullname="Ari Keränen">
      <organization showOnFrontPage="true">Ericsson</organization>
      <address>
        <postal>
          <street/>
          <city>Jorvas</city>
          <code>02420</code>
          <country>Finland</country>
        </postal>
        <email>ari.keranen@ericsson.com</email>
      </address>
    </author>
    <author fullname="Roman Shpount" initials="R." surname="Shpount">
      <organization abbrev="TurboBridge" showOnFrontPage="true">TurboBridge</organization>
      <address>
        <postal>
          <street>4905 Del Ray Avenue, Suite 300</street>
          <city>Bethesda</city>
          <region>MD</region>
          <code>20814</code>
          <country>United States of America</country>
        </postal>
        <email>rshpount@turbobridge.com</email>
      </address>
    </author>
    <date month="01" year="2021"/>
    <area>ART</area>
    <workgroup>MMUSIC</workgroup>
    <keyword>SIP</keyword>
    <keyword>Session Initial Protocol</keyword>
    <abstract pn="section-abstract">
      <t indent="0" pn="section-abstract-1">
This document describes Session Description Protocol (SDP) Offer/Answer
procedures for carrying out Interactive Connectivity Establishment (ICE)
between the agents.
</t>
      <t indent="0" pn="section-abstract-2">
This document obsoletes RFCs 5245 and 6336.
</t>
    </abstract>
    <boilerplate>
      <section anchor="status-of-memo" numbered="false" removeInRFC="false" toc="exclude" pn="section-boilerplate.1">
        <name slugifiedName="name-status-of-this-memo">Status of This Memo</name>
        <t indent="0" pn="section-boilerplate.1-1">
            This is an Internet Standards Track document.
        </t>
        <t indent="0" pn="section-boilerplate.1-2">
            This document is a product of the Internet Engineering Task Force
            (IETF).  It represents the consensus of the IETF community.  It has
            received public review and has been approved for publication by
            the Internet Engineering Steering Group (IESG).  Further
            information on Internet Standards is available in Section 2 of 
            RFC 7841.
        </t>
        <t indent="0" pn="section-boilerplate.1-3">
            Information about the current status of this document, any
            errata, and how to provide feedback on it may be obtained at
            <eref target="https://www.rfc-editor.org/info/rfc8839" brackets="none"/>.
        </t>
      </section>
      <section anchor="copyright" numbered="false" removeInRFC="false" toc="exclude" pn="section-boilerplate.2">
        <name slugifiedName="name-copyright-notice">Copyright Notice</name>
        <t indent="0" pn="section-boilerplate.2-1">
            Copyright (c) 2021 IETF Trust and the persons identified as the
            document authors. All rights reserved.
        </t>
        <t indent="0" pn="section-boilerplate.2-2">
            This document is subject to BCP 78 and the IETF Trust's Legal
            Provisions Relating to IETF Documents
            (<eref target="https://trustee.ietf.org/license-info" brackets="none"/>) in effect on the date of
            publication of this document. Please review these documents
            carefully, as they describe your rights and restrictions with
            respect to this document. Code Components extracted from this
            document must include Simplified BSD License text as described in
            Section 4.e of the Trust Legal Provisions and are provided without
            warranty as described in the Simplified BSD License.
        </t>
        <t indent="0" pn="section-boilerplate.2-3">
            This document may contain material from IETF Documents or IETF
            Contributions published or made publicly available before November
            10, 2008. The person(s) controlling the copyright in some of this
            material may not have granted the IETF Trust the right to allow
            modifications of such material outside the IETF Standards Process.
            Without obtaining an adequate license from the person(s)
            controlling the copyright in such materials, this document may not
            be modified outside the IETF Standards Process, and derivative
            works of it may not be created outside the IETF Standards Process,
            except to format it for publication as an RFC or to translate it
            into languages other than English.
        </t>
      </section>
    </boilerplate>
    <toc>
      <section anchor="toc" numbered="false" removeInRFC="false" toc="exclude" pn="section-toc.1">
        <name slugifiedName="name-table-of-contents">Table of Contents</name>
        <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1">
          <li pn="section-toc.1-1.1">
            <t indent="0" keepWithNext="true" pn="section-toc.1-1.1.1"><xref derivedContent="1" format="counter" sectionFormat="of" target="section-1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-introduction">Introduction</xref></t>
          </li>
          <li pn="section-toc.1-1.2">
            <t indent="0" keepWithNext="true" pn="section-toc.1-1.2.1"><xref derivedContent="2" format="counter" sectionFormat="of" target="section-2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-conventions">Conventions</xref></t>
          </li>
          <li pn="section-toc.1-1.3">
            <t indent="0" keepWithNext="true" pn="section-toc.1-1.3.1"><xref derivedContent="3" format="counter" sectionFormat="of" target="section-3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-terminology">Terminology</xref></t>
          </li>
          <li pn="section-toc.1-1.4">
            <t indent="0" pn="section-toc.1-1.4.1"><xref derivedContent="4" format="counter" sectionFormat="of" target="section-4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-sdp-offer-answer-procedures">SDP Offer/Answer Procedures</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.4.2">
              <li pn="section-toc.1-1.4.2.1">
                <t indent="0" pn="section-toc.1-1.4.2.1.1"><xref derivedContent="4.1" format="counter" sectionFormat="of" target="section-4.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-introduction-2">Introduction</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.2">
                <t indent="0" pn="section-toc.1-1.4.2.2.1"><xref derivedContent="4.2" format="counter" sectionFormat="of" target="section-4.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-generic-procedures">Generic Procedures</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.4.2.2.2">
                  <li pn="section-toc.1-1.4.2.2.2.1">
                    <t indent="0" pn="section-toc.1-1.4.2.2.2.1.1"><xref derivedContent="4.2.1" format="counter" sectionFormat="of" target="section-4.2.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-encoding">Encoding</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.2.2.2">
                    <t indent="0" pn="section-toc.1-1.4.2.2.2.2.1"><xref derivedContent="4.2.2" format="counter" sectionFormat="of" target="section-4.2.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-rtp-rtcp-considerations">RTP/RTCP Considerations</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.2.2.3">
                    <t indent="0" pn="section-toc.1-1.4.2.2.2.3.1"><xref derivedContent="4.2.3" format="counter" sectionFormat="of" target="section-4.2.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-determining-role">Determining Role</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.2.2.4">
                    <t indent="0" pn="section-toc.1-1.4.2.2.2.4.1"><xref derivedContent="4.2.4" format="counter" sectionFormat="of" target="section-4.2.4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-stun-considerations">STUN Considerations</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.2.2.5">
                    <t indent="0" pn="section-toc.1-1.4.2.2.2.5.1"><xref derivedContent="4.2.5" format="counter" sectionFormat="of" target="section-4.2.5"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-verifying-ice-support-proce">Verifying ICE Support Procedures</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.2.2.6">
                    <t indent="0" pn="section-toc.1-1.4.2.2.2.6.1"><xref derivedContent="4.2.6" format="counter" sectionFormat="of" target="section-4.2.6"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-sdp-example">SDP Example</xref></t>
                  </li>
                </ul>
              </li>
              <li pn="section-toc.1-1.4.2.3">
                <t indent="0" pn="section-toc.1-1.4.2.3.1"><xref derivedContent="4.3" format="counter" sectionFormat="of" target="section-4.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-initial-offer-answer-exchan">Initial Offer/Answer Exchange</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.4.2.3.2">
                  <li pn="section-toc.1-1.4.2.3.2.1">
                    <t indent="0" pn="section-toc.1-1.4.2.3.2.1.1"><xref derivedContent="4.3.1" format="counter" sectionFormat="of" target="section-4.3.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-sending-the-initial-offer">Sending the Initial Offer</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.3.2.2">
                    <t indent="0" pn="section-toc.1-1.4.2.3.2.2.1"><xref derivedContent="4.3.2" format="counter" sectionFormat="of" target="section-4.3.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-sending-the-initial-answer">Sending the Initial Answer</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.3.2.3">
                    <t indent="0" pn="section-toc.1-1.4.2.3.2.3.1"><xref derivedContent="4.3.3" format="counter" sectionFormat="of" target="section-4.3.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-receiving-the-initial-answe">Receiving the Initial Answer</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.3.2.4">
                    <t indent="0" pn="section-toc.1-1.4.2.3.2.4.1"><xref derivedContent="4.3.4" format="counter" sectionFormat="of" target="section-4.3.4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-concluding-ice">Concluding ICE</xref></t>
                  </li>
                </ul>
              </li>
              <li pn="section-toc.1-1.4.2.4">
                <t indent="0" pn="section-toc.1-1.4.2.4.1"><xref derivedContent="4.4" format="counter" sectionFormat="of" target="section-4.4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-subsequent-offer-answer-exc">Subsequent Offer/Answer Exchanges</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.4.2.4.2">
                  <li pn="section-toc.1-1.4.2.4.2.1">
                    <t indent="0" pn="section-toc.1-1.4.2.4.2.1.1"><xref derivedContent="4.4.1" format="counter" sectionFormat="of" target="section-4.4.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-sending-subsequent-offer">Sending Subsequent Offer</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.4.2.2">
                    <t indent="0" pn="section-toc.1-1.4.2.4.2.2.1"><xref derivedContent="4.4.2" format="counter" sectionFormat="of" target="section-4.4.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-sending-subsequent-answer">Sending Subsequent Answer</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.4.2.3">
                    <t indent="0" pn="section-toc.1-1.4.2.4.2.3.1"><xref derivedContent="4.4.3" format="counter" sectionFormat="of" target="section-4.4.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-receiving-answer-for-a-subs">Receiving Answer for a Subsequent Offer</xref></t>
                  </li>
                </ul>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.5">
            <t indent="0" pn="section-toc.1-1.5.1"><xref derivedContent="5" format="counter" sectionFormat="of" target="section-5"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-grammar">Grammar</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.5.2">
              <li pn="section-toc.1-1.5.2.1">
                <t indent="0" pn="section-toc.1-1.5.2.1.1"><xref derivedContent="5.1" format="counter" sectionFormat="of" target="section-5.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-candidate-attribute">"candidate" Attribute</xref></t>
              </li>
              <li pn="section-toc.1-1.5.2.2">
                <t indent="0" pn="section-toc.1-1.5.2.2.1"><xref derivedContent="5.2" format="counter" sectionFormat="of" target="section-5.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-remote-candidates-attribute">"remote-candidates" Attribute</xref></t>
              </li>
              <li pn="section-toc.1-1.5.2.3">
                <t indent="0" pn="section-toc.1-1.5.2.3.1"><xref derivedContent="5.3" format="counter" sectionFormat="of" target="section-5.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-ice-lite-and-ice-mismatch-a">"ice-lite" and "ice-mismatch" Attributes</xref></t>
              </li>
              <li pn="section-toc.1-1.5.2.4">
                <t indent="0" pn="section-toc.1-1.5.2.4.1"><xref derivedContent="5.4" format="counter" sectionFormat="of" target="section-5.4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-ice-ufrag-and-ice-pwd-attri">"ice-ufrag" and "ice-pwd" Attributes</xref></t>
              </li>
              <li pn="section-toc.1-1.5.2.5">
                <t indent="0" pn="section-toc.1-1.5.2.5.1"><xref derivedContent="5.5" format="counter" sectionFormat="of" target="section-5.5"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-ice-pacing-attribute">"ice-pacing" Attribute</xref></t>
              </li>
              <li pn="section-toc.1-1.5.2.6">
                <t indent="0" pn="section-toc.1-1.5.2.6.1"><xref derivedContent="5.6" format="counter" sectionFormat="of" target="section-5.6"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-ice-options-attribute">"ice-options" Attribute</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.6">
            <t indent="0" pn="section-toc.1-1.6.1"><xref derivedContent="6" format="counter" sectionFormat="of" target="section-6"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-keepalives">Keepalives</xref></t>
          </li>
          <li pn="section-toc.1-1.7">
            <t indent="0" pn="section-toc.1-1.7.1"><xref derivedContent="7" format="counter" sectionFormat="of" target="section-7"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-sip-considerations">SIP Considerations</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.7.2">
              <li pn="section-toc.1-1.7.2.1">
                <t indent="0" pn="section-toc.1-1.7.2.1.1"><xref derivedContent="7.1" format="counter" sectionFormat="of" target="section-7.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-latency-guidelines">Latency Guidelines</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.7.2.1.2">
                  <li pn="section-toc.1-1.7.2.1.2.1">
                    <t indent="0" pn="section-toc.1-1.7.2.1.2.1.1"><xref derivedContent="7.1.1" format="counter" sectionFormat="of" target="section-7.1.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-offer-in-invite">Offer in INVITE</xref></t>
                  </li>
                  <li pn="section-toc.1-1.7.2.1.2.2">
                    <t indent="0" pn="section-toc.1-1.7.2.1.2.2.1"><xref derivedContent="7.1.2" format="counter" sectionFormat="of" target="section-7.1.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-offer-in-response">Offer in Response</xref></t>
                  </li>
                </ul>
              </li>
              <li pn="section-toc.1-1.7.2.2">
                <t indent="0" pn="section-toc.1-1.7.2.2.1"><xref derivedContent="7.2" format="counter" sectionFormat="of" target="section-7.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-sip-option-tags-and-media-f">SIP Option Tags and Media Feature Tags</xref></t>
              </li>
              <li pn="section-toc.1-1.7.2.3">
                <t indent="0" pn="section-toc.1-1.7.2.3.1"><xref derivedContent="7.3" format="counter" sectionFormat="of" target="section-7.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-interactions-with-forking">Interactions with Forking</xref></t>
              </li>
              <li pn="section-toc.1-1.7.2.4">
                <t indent="0" pn="section-toc.1-1.7.2.4.1"><xref derivedContent="7.4" format="counter" sectionFormat="of" target="section-7.4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-interactions-with-precondit">Interactions with Preconditions</xref></t>
              </li>
              <li pn="section-toc.1-1.7.2.5">
                <t indent="0" pn="section-toc.1-1.7.2.5.1"><xref derivedContent="7.5" format="counter" sectionFormat="of" target="section-7.5"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-interactions-with-third-par">Interactions with Third Party Call Control</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.8">
            <t indent="0" pn="section-toc.1-1.8.1"><xref derivedContent="8" format="counter" sectionFormat="of" target="section-8"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-interactions-with-applicati">Interactions with Application Layer Gateways and SIP</xref></t>
          </li>
          <li pn="section-toc.1-1.9">
            <t indent="0" pn="section-toc.1-1.9.1"><xref derivedContent="9" format="counter" sectionFormat="of" target="section-9"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-security-considerations">Security Considerations</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.9.2">
              <li pn="section-toc.1-1.9.2.1">
                <t indent="0" pn="section-toc.1-1.9.2.1.1"><xref derivedContent="9.1" format="counter" sectionFormat="of" target="section-9.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-ip-address-privacy">IP Address Privacy</xref></t>
              </li>
              <li pn="section-toc.1-1.9.2.2">
                <t indent="0" pn="section-toc.1-1.9.2.2.1"><xref derivedContent="9.2" format="counter" sectionFormat="of" target="section-9.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-attacks-on-the-offer-answer">Attacks on the Offer/Answer Exchanges</xref></t>
              </li>
              <li pn="section-toc.1-1.9.2.3">
                <t indent="0" pn="section-toc.1-1.9.2.3.1"><xref derivedContent="9.3" format="counter" sectionFormat="of" target="section-9.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-the-voice-hammer-attack">The Voice Hammer Attack</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.10">
            <t indent="0" pn="section-toc.1-1.10.1"><xref derivedContent="10" format="counter" sectionFormat="of" target="section-10"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-iana-considerations">IANA Considerations</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.10.2">
              <li pn="section-toc.1-1.10.2.1">
                <t indent="0" pn="section-toc.1-1.10.2.1.1"><xref derivedContent="10.1" format="counter" sectionFormat="of" target="section-10.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-sdp-attributes">SDP Attributes</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.10.2.1.2">
                  <li pn="section-toc.1-1.10.2.1.2.1">
                    <t indent="0" pn="section-toc.1-1.10.2.1.2.1.1"><xref derivedContent="10.1.1" format="counter" sectionFormat="of" target="section-10.1.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-candidate-attribute-2">"candidate" Attribute</xref></t>
                  </li>
                  <li pn="section-toc.1-1.10.2.1.2.2">
                    <t indent="0" pn="section-toc.1-1.10.2.1.2.2.1"><xref derivedContent="10.1.2" format="counter" sectionFormat="of" target="section-10.1.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-remote-candidates-attribute-2">"remote-candidates" Attribute</xref></t>
                  </li>
                  <li pn="section-toc.1-1.10.2.1.2.3">
                    <t indent="0" pn="section-toc.1-1.10.2.1.2.3.1"><xref derivedContent="10.1.3" format="counter" sectionFormat="of" target="section-10.1.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-ice-lite-attribute">"ice-lite" Attribute</xref></t>
                  </li>
                  <li pn="section-toc.1-1.10.2.1.2.4">
                    <t indent="0" pn="section-toc.1-1.10.2.1.2.4.1"><xref derivedContent="10.1.4" format="counter" sectionFormat="of" target="section-10.1.4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-ice-mismatch-attribute">"ice-mismatch" Attribute</xref></t>
                  </li>
                  <li pn="section-toc.1-1.10.2.1.2.5">
                    <t indent="0" pn="section-toc.1-1.10.2.1.2.5.1"><xref derivedContent="10.1.5" format="counter" sectionFormat="of" target="section-10.1.5"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-ice-pwd-attribute">"ice-pwd" Attribute</xref></t>
                  </li>
                  <li pn="section-toc.1-1.10.2.1.2.6">
                    <t indent="0" pn="section-toc.1-1.10.2.1.2.6.1"><xref derivedContent="10.1.6" format="counter" sectionFormat="of" target="section-10.1.6"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-ice-ufrag-attribute">"ice-ufrag" Attribute</xref></t>
                  </li>
                  <li pn="section-toc.1-1.10.2.1.2.7">
                    <t indent="0" pn="section-toc.1-1.10.2.1.2.7.1"><xref derivedContent="10.1.7" format="counter" sectionFormat="of" target="section-10.1.7"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-ice-options-attribute-2">"ice-options" Attribute</xref></t>
                  </li>
                  <li pn="section-toc.1-1.10.2.1.2.8">
                    <t indent="0" pn="section-toc.1-1.10.2.1.2.8.1"><xref derivedContent="10.1.8" format="counter" sectionFormat="of" target="section-10.1.8"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-ice-pacing-attribute-2">"ice-pacing" Attribute</xref></t>
                  </li>
                </ul>
              </li>
              <li pn="section-toc.1-1.10.2.2">
                <t indent="0" pn="section-toc.1-1.10.2.2.1"><xref derivedContent="10.2" format="counter" sectionFormat="of" target="section-10.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-interactive-connectivity-es">Interactive Connectivity Establishment (ICE) Options Registry</xref></t>
              </li>
              <li pn="section-toc.1-1.10.2.3">
                <t indent="0" pn="section-toc.1-1.10.2.3.1"><xref derivedContent="10.3" format="counter" sectionFormat="of" target="section-10.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-candidate-attribute-extensi">Candidate Attribute Extension Subregistry Establishment</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.11">
            <t indent="0" pn="section-toc.1-1.11.1"><xref derivedContent="11" format="counter" sectionFormat="of" target="section-11"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-changes-from-rfc-5245">Changes from RFC 5245</xref></t>
          </li>
          <li pn="section-toc.1-1.12">
            <t indent="0" pn="section-toc.1-1.12.1"><xref derivedContent="12" format="counter" sectionFormat="of" target="section-12"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-references">References</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.12.2">
              <li pn="section-toc.1-1.12.2.1">
                <t indent="0" pn="section-toc.1-1.12.2.1.1"><xref derivedContent="12.1" format="counter" sectionFormat="of" target="section-12.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-normative-references">Normative References</xref></t>
              </li>
              <li pn="section-toc.1-1.12.2.2">
                <t indent="0" pn="section-toc.1-1.12.2.2.1"><xref derivedContent="12.2" format="counter" sectionFormat="of" target="section-12.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-informative-references">Informative References</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.13">
            <t indent="0" pn="section-toc.1-1.13.1"><xref derivedContent="Appendix A" format="default" sectionFormat="of" target="section-appendix.a"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-examples">Examples</xref></t>
          </li>
          <li pn="section-toc.1-1.14">
            <t indent="0" pn="section-toc.1-1.14.1"><xref derivedContent="Appendix B" format="default" sectionFormat="of" target="section-appendix.b"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-the-remote-candidates-attri">The "remote-candidates" Attribute</xref></t>
          </li>
          <li pn="section-toc.1-1.15">
            <t indent="0" pn="section-toc.1-1.15.1"><xref derivedContent="Appendix C" format="default" sectionFormat="of" target="section-appendix.c"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-why-is-the-conflict-resolut">Why Is the Conflict Resolution Mechanism Needed?</xref></t>
          </li>
          <li pn="section-toc.1-1.16">
            <t indent="0" pn="section-toc.1-1.16.1"><xref derivedContent="Appendix D" format="default" sectionFormat="of" target="section-appendix.d"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-why-send-an-updated-offer">Why Send an Updated Offer?</xref></t>
          </li>
          <li pn="section-toc.1-1.17">
            <t indent="0" pn="section-toc.1-1.17.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.e"/><xref derivedContent="" format="title" sectionFormat="of" target="name-acknowledgements">Acknowledgements</xref></t>
          </li>
          <li pn="section-toc.1-1.18">
            <t indent="0" pn="section-toc.1-1.18.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.f"/><xref derivedContent="" format="title" sectionFormat="of" target="name-contributors">Contributors</xref></t>
          </li>
          <li pn="section-toc.1-1.19">
            <t indent="0" pn="section-toc.1-1.19.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.g"/><xref derivedContent="" format="title" sectionFormat="of" target="name-authors-addresses">Authors' Addresses</xref></t>
          </li>
        </ul>
      </section>
    </toc>
  </front>
  <middle>
    <section anchor="intro" numbered="true" toc="include" removeInRFC="false" pn="section-1">
      <name slugifiedName="name-introduction">Introduction</name>
      <t indent="0" pn="section-1-1">
This document describes how Interactive Connectivity Establishment (ICE) is
used with Session Description Protocol (SDP) offer/answer <xref target="RFC3264" format="default" sectionFormat="of" derivedContent="RFC3264"/>. The ICE specification <xref target="RFC8445" format="default" sectionFormat="of" derivedContent="RFC8445"/> describes procedures that are common to
all usages of ICE, and this document gives the additional details needed to
use ICE with SDP offer/answer.
</t>
      <t indent="0" pn="section-1-2">This document obsoletes RFCs 5245 and 6336. </t>
      <t indent="0" pn="section-1-3">
NOTE: Previously both the common ICE procedures, and the SDP offer/answer
specific details, were described in <xref target="RFC5245" format="default" sectionFormat="of" derivedContent="RFC5245"/>. <xref target="RFC8445" format="default" sectionFormat="of" derivedContent="RFC8445"/> obsoleted <xref target="RFC5245" format="default" sectionFormat="of" derivedContent="RFC5245"/>, and the SDP offer/answer-specific details
were removed from the document. <xref target="sec.5245" format="default" sectionFormat="of" derivedContent="Section 11"/>
describes the changes to the SDP offer/answer-specific details specified in
this document.
</t>
    </section>
    <section numbered="true" toc="include" removeInRFC="false" pn="section-2">
      <name slugifiedName="name-conventions">Conventions</name>
      <t indent="0" pn="section-2-1">
    The key words "<bcp14>MUST</bcp14>", "<bcp14>MUST NOT</bcp14>",
    "<bcp14>REQUIRED</bcp14>", "<bcp14>SHALL</bcp14>", "<bcp14>SHALL NOT</bcp14>", "<bcp14>SHOULD</bcp14>", "<bcp14>SHOULD NOT</bcp14>",
    "<bcp14>RECOMMENDED</bcp14>", "<bcp14>NOT RECOMMENDED</bcp14>",
    "<bcp14>MAY</bcp14>", and "<bcp14>OPTIONAL</bcp14>" in this document are
    to be interpreted as described in BCP 14 <xref target="RFC2119" format="default" sectionFormat="of" derivedContent="RFC2119"/>
        <xref target="RFC8174" format="default" sectionFormat="of" derivedContent="RFC8174"/> when, and only when, they appear in all capitals,
    as shown here.
      </t>
    </section>
    <section numbered="true" toc="include" removeInRFC="false" pn="section-3">
      <name slugifiedName="name-terminology">Terminology</name>
      <t indent="0" pn="section-3-1">
Readers should be familiar with the terminology defined in <xref target="RFC3264" format="default" sectionFormat="of" derivedContent="RFC3264"/>, in <xref target="RFC8445" format="default" sectionFormat="of" derivedContent="RFC8445"/>, and the following:
</t>
      <dl newline="false" spacing="normal" indent="3" pn="section-3-2">
        <dt pn="section-3-2.1">Default Destination/Candidate:</dt>
        <dd pn="section-3-2.2">
The default destination for a component of a data stream is the transport
address that would be used by an agent that is not ICE aware. A default
candidate for a component is one whose transport address matches the default
destination for that component. For the RTP component, the default connection
address is in the "c=" line of the SDP, and the port and transport protocol
are in the "m=" line. For the RTP Control Protocol (RTCP) component, the
address and port are indicated using the "rtcp" attribute defined in <xref target="RFC3605" format="default" sectionFormat="of" derivedContent="RFC3605"/>, if present; otherwise, the RTCP component
address is the same as the address of the RTP component, and its port is one
greater than the port of the RTP component.
</dd>
      </dl>
    </section>
    <section numbered="true" toc="include" removeInRFC="false" pn="section-4">
      <name slugifiedName="name-sdp-offer-answer-procedures">SDP Offer/Answer Procedures</name>
      <section numbered="true" toc="include" removeInRFC="false" pn="section-4.1">
        <name slugifiedName="name-introduction-2">Introduction</name>
        <t indent="0" pn="section-4.1-1"><xref target="RFC8445" format="default" sectionFormat="of" derivedContent="RFC8445"/> defines ICE candidate
        exchange as the process for ICE agents (initiator and responder) to
        exchange their candidate information required for ICE processing at
        the agents. For the purposes of this specification, the candidate
        exchange process corresponds to the Offer/Answer protocol <xref target="RFC3264" format="default" sectionFormat="of" derivedContent="RFC3264"/>, and the terms "offerer" and
        "answerer" correspond to the initiator and responder roles from <xref target="RFC8445" format="default" sectionFormat="of" derivedContent="RFC8445"/> respectively.
</t>
        <t indent="0" pn="section-4.1-2">
Once the initiating agent has gathered, pruned, and prioritized its set of
candidates <xref target="RFC8445" format="default" sectionFormat="of" derivedContent="RFC8445"/>, the candidate exchange
with the peer agent begins.
</t>
      </section>
      <section numbered="true" toc="include" removeInRFC="false" pn="section-4.2">
        <name slugifiedName="name-generic-procedures">Generic Procedures</name>
        <section anchor="sec-encoding" numbered="true" toc="include" removeInRFC="false" pn="section-4.2.1">
          <name slugifiedName="name-encoding">Encoding</name>
          <t indent="0" pn="section-4.2.1-1"><xref target="sec-grammar" format="default" sectionFormat="of" derivedContent="Section 5"/> provides detailed
          rules for constructing various SDP attributes defined in this
          specification.
</t>
          <section numbered="true" toc="exclude" removeInRFC="false" pn="section-4.2.1.1">
            <name slugifiedName="name-data-streams">Data Streams</name>
            <t indent="0" pn="section-4.2.1.1-1">
Each data stream <xref target="RFC8445" format="default" sectionFormat="of" derivedContent="RFC8445"/> is represented by
an SDP media description ("m=" section).
</t>
          </section>
          <section numbered="true" toc="exclude" removeInRFC="false" pn="section-4.2.1.2">
            <name slugifiedName="name-candidates">Candidates</name>
            <t indent="0" pn="section-4.2.1.2-1">
Within an "m=" section, each candidate (including the default candidate) associated
with the data stream is represented by an SDP "candidate" attribute.
</t>
            <t indent="0" pn="section-4.2.1.2-2">
Prior to nomination, the "c=" line associated with an "m=" section contains
the connection address of the default candidate, while the "m=" line contains the port
and transport protocol of the default candidate for that "m=" section.
</t>
            <t indent="0" pn="section-4.2.1.2-3">
After nomination, the "c=" line for a given "m=" section contains the
connection address of the nominated candidate (the local candidate of the
nominated candidate pair), and the "m=" line contains the port and
transport protocol corresponding to the nominated candidate for that
"m=" section.
</t>
          </section>
          <section numbered="true" toc="exclude" removeInRFC="false" pn="section-4.2.1.3">
            <name slugifiedName="name-username-and-password">Username and Password</name>
            <t indent="0" pn="section-4.2.1.3-1">
The ICE username is represented by an SDP "ice-ufrag" attribute, and the ICE
password is represented by an SDP "ice-pwd" attribute.
</t>
          </section>
          <section numbered="true" toc="exclude" removeInRFC="false" pn="section-4.2.1.4">
            <name slugifiedName="name-lite-implementations">Lite Implementations</name>
            <t indent="0" pn="section-4.2.1.4-1">
An ICE-lite implementation <xref target="RFC8445" format="default" sectionFormat="of" derivedContent="RFC8445"/> <bcp14>MUST</bcp14> include an SDP "ice-lite" attribute.
A full implementation <bcp14>MUST NOT</bcp14> include that attribute.
</t>
          </section>
          <section numbered="true" toc="exclude" removeInRFC="false" pn="section-4.2.1.5">
            <name slugifiedName="name-ice-extensions">ICE Extensions</name>
            <t indent="0" pn="section-4.2.1.5-1">
An agent uses the SDP "ice-options" attribute to indicate support of ICE
extensions.
</t>
            <t indent="0" pn="section-4.2.1.5-2">
An agent compliant with this specification <bcp14>MUST</bcp14> include an SDP "ice-options"
attribute with an "ice2" attribute value <xref target="RFC8445" format="default" sectionFormat="of" derivedContent="RFC8445"/>. If an agent receives an SDP offer
or answer that indicates ICE support, but that does not contain an SDP "ice-options" attribute with an "ice2" attribute value,
the agent can assume that the peer is compliant to <xref target="RFC5245" format="default" sectionFormat="of" derivedContent="RFC5245"/>.
</t>
          </section>
          <section numbered="true" toc="exclude" removeInRFC="false" pn="section-4.2.1.6">
            <name slugifiedName="name-inactive-and-disabled-data-">Inactive and Disabled Data Streams</name>
            <t indent="0" pn="section-4.2.1.6-1">
If an "m=" section is marked as inactive <xref target="RFC4566" format="default" sectionFormat="of" derivedContent="RFC4566"/>, or has a bandwidth
value of zero <xref target="RFC4566" format="default" sectionFormat="of" derivedContent="RFC4566"/>, the agent <bcp14>MUST</bcp14> still include ICE-related SDP
attributes.
</t>
            <t indent="0" pn="section-4.2.1.6-2">
If the port value associated with an "m=" section is set to zero (implying a
disabled stream) as defined in <xref target="RFC3264" sectionFormat="of" section="8.2" format="default" derivedLink="https://rfc-editor.org/rfc/rfc3264#section-8.2" derivedContent="RFC3264"/>, the agent <bcp14>SHOULD NOT</bcp14>
include ICE-related SDP "candidate" attributes in that "m=" section, unless an
SDP extension specifying otherwise is used.
</t>
          </section>
        </section>
        <section numbered="true" toc="include" removeInRFC="false" pn="section-4.2.2">
          <name slugifiedName="name-rtp-rtcp-considerations">RTP/RTCP Considerations</name>
          <t indent="0" pn="section-4.2.2-1">
If an agent utilizes both RTP and RTCP, and separate ports
are used for RTP and RTCP, the agent <bcp14>MUST</bcp14> include SDP "candidate"
attributes for both the RTP and RTCP components.
</t>
          <t indent="0" pn="section-4.2.2-2">
The agent includes an SDP "rtcp" attribute following the procedures
in <xref target="RFC3605" format="default" sectionFormat="of" derivedContent="RFC3605"/>. Hence, in the cases where the RTCP
port value is one higher than the RTP port value and the RTCP component
address the same as the address of the RTP component, the SDP "rtcp" attribute
might be omitted.
</t>
          <t indent="0" pn="section-4.2.2-3">
NOTE: <xref target="RFC5245" format="default" sectionFormat="of" derivedContent="RFC5245"/> required that an agent always includes the 
SDP "rtcp" attribute, even if the RTCP port value was one higher than the
RTP port value. This specification aligns the "rtcp" attribute procedures
with <xref target="RFC3605" format="default" sectionFormat="of" derivedContent="RFC3605"/>.
</t>
          <t indent="0" pn="section-4.2.2-4">
If the agent does not utilize RTCP, it indicates that by including "RS:0"
and "RR:0" SDP attributes as described in <xref target="RFC3556" format="default" sectionFormat="of" derivedContent="RFC3556"/>.
</t>
        </section>
        <section numbered="true" toc="include" removeInRFC="false" pn="section-4.2.3">
          <name slugifiedName="name-determining-role">Determining Role</name>
          <t indent="0" pn="section-4.2.3-1">
The offerer acts as the initiating agent. The answerer acts as the
responding agent. The ICE roles (controlling and controlled) are determined
using the procedures in <xref target="RFC8445" format="default" sectionFormat="of" derivedContent="RFC8445"/>.
</t>
        </section>
        <section numbered="true" toc="include" removeInRFC="false" pn="section-4.2.4">
          <name slugifiedName="name-stun-considerations">STUN Considerations</name>
          <t indent="0" pn="section-4.2.4-1">
Once an agent has provided its local candidates to its peer in an SDP
offer or answer, the agent <bcp14>MUST</bcp14> be prepared to receive STUN
(Session Traversal Utilities for NAT, <xref target="RFC5389" format="default" sectionFormat="of" derivedContent="RFC5389"/>) connectivity
check Binding requests on those candidates.
</t>
        </section>
        <section anchor="sec-ice-mismatch" numbered="true" toc="include" removeInRFC="false" pn="section-4.2.5">
          <name slugifiedName="name-verifying-ice-support-proce">Verifying ICE Support Procedures</name>
          <t indent="0" pn="section-4.2.5-1">
            An ICE agent indicates support of ICE by including
            at least the SDP "ice-pwd" and "ice-ufrag" attributes in an offer or answer.
            An ICE agent compliant with this specification <bcp14>MUST</bcp14> also include an 
            SDP "ice-options" attribute with an "ice2" attribute value.
          </t>
          <t indent="0" pn="section-4.2.5-2">
The agents will proceed with the ICE procedures defined in <xref target="RFC8445" format="default" sectionFormat="of" derivedContent="RFC8445"/> and
this specification if, for each data stream in the SDP it received, the
default destination for each component of that data stream appears in
a "candidate" attribute. For example, in the case of RTP, the
connection address, port, and transport protocol in the
"c=" and "m=" lines, respectively, appear in a "candidate"
attribute, and the value in the "rtcp" attribute appears in a "candidate"
attribute.
</t>
          <t indent="0" pn="section-4.2.5-3">
This specification provides no guidance on how an agent should proceed
in the cases where the above condition is not met with the few
exceptions noted below:
</t>
          <ol spacing="normal" type="1" indent="adaptive" start="1" pn="section-4.2.5-4">
            <li pn="section-4.2.5-4.1" derivedCounter="1.">
The presence of certain Application Layer Gateways might modify
the transport address information as described in <xref target="sec-alg-sip" format="default" sectionFormat="of" derivedContent="Section 8"/>.
The behavior of the responding agent in such a situation is
implementation dependent. Informally, the responding agent might
consider the mismatched transport address information as a
plausible new candidate learned from the peer and continue its
ICE processing with that transport address included.
Alternatively, the responding agent <bcp14>MAY</bcp14> include an "ice-mismatch"
attribute in its answer for such data streams.  If an agent chooses to
include an "ice-mismatch" attribute in its answer for a data stream,
then it <bcp14>MUST</bcp14> also omit "candidate" attributes, <bcp14>MUST</bcp14> terminate
the usage of ICE procedures, and <xref target="RFC3264" format="default" sectionFormat="of" derivedContent="RFC3264"/> 
procedures <bcp14>MUST</bcp14> be used instead for this data stream.

</li>
            <li pn="section-4.2.5-4.2" derivedCounter="2.">
The transport address from the peer for the default destination
is set to IPv4/IPv6 address values "0.0.0.0"/"::" and port value of "9".
This <bcp14>MUST NOT</bcp14> be considered as an ICE failure by the peer agent, and
the ICE processing <bcp14>MUST</bcp14> continue as usual.

</li>
            <li pn="section-4.2.5-4.3" derivedCounter="3.">
In some cases, the controlling/initiator agent may receive an SDP answer
that may omit "candidate" attributes for the data stream, and instead
include a media-level "ice-mismatch" attribute.  This signals to the
offerer that the answerer supports ICE, but that ICE processing was not
used for this data stream. In this case, ICE processing <bcp14>MUST</bcp14> be terminated
for this data stream, and <xref target="RFC3264" format="default" sectionFormat="of" derivedContent="RFC3264"/> procedures <bcp14>MUST</bcp14> be followed instead.

</li>
            <li pn="section-4.2.5-4.4" derivedCounter="4.">
The transport address from the peer for the default destination is
an FQDN. Regardless of the procedures used to resolve FQDN or the
resolution result, this <bcp14>MUST NOT</bcp14> be considered as an ICE failure by
the peer agent, and the ICE processing <bcp14>MUST</bcp14> continue as usual.

</li>
          </ol>
        </section>
        <section numbered="true" toc="include" removeInRFC="false" pn="section-4.2.6">
          <name slugifiedName="name-sdp-example">SDP Example</name>
          <t indent="0" pn="section-4.2.6-1">
The following is an example SDP message that includes ICE attributes
(lines folded for readability):
</t>
          <sourcecode name="" type="sdp" markers="false" pn="section-4.2.6-2">
v=0
o=jdoe 2890844526 2890842807 IN IP4 203.0.113.141
s=
c=IN IP4 192.0.2.3
t=0 0
a=ice-options:ice2
a=ice-pacing:50
a=ice-pwd:asd88fgpdd777uzjYhagZg
a=ice-ufrag:8hhY
m=audio 45664 RTP/AVP 0
b=RS:0
b=RR:0
a=rtpmap:0 PCMU/8000
a=candidate:1 1 UDP 2130706431 203.0.113.141 8998 typ host
a=candidate:2 1 UDP 1694498815 192.0.2.3 45664 typ srflx raddr
 203.0.113.141 rport 8998
</sourcecode>
        </section>
      </section>
      <section numbered="true" toc="include" removeInRFC="false" pn="section-4.3">
        <name slugifiedName="name-initial-offer-answer-exchan">Initial Offer/Answer Exchange</name>
        <section numbered="true" toc="include" removeInRFC="false" pn="section-4.3.1">
          <name slugifiedName="name-sending-the-initial-offer">Sending the Initial Offer</name>
          <t indent="0" pn="section-4.3.1-1">
When an offerer generates the initial offer, in each "m=" section it <bcp14>MUST</bcp14>
include SDP "candidate" attributes for each available candidate associated
with the "m=" section. In addition, the offerer <bcp14>MUST</bcp14> include an SDP "ice-ufrag"
attribute, an SDP "ice-pwd" attribute, and an SDP "ice-options" attribute with
an "ice2" attribute value in the offer. If the offerer is a full ICE implementation,
it <bcp14>SHOULD</bcp14> include an "ice-pacing" attribute in the offer (if not included, the
default value will apply). A lite ICE implementation <bcp14>MUST NOT</bcp14> include the "ice-pacing"
attribute in the offer (as it will not perform connectivity checks).
</t>
          <t indent="0" pn="section-4.3.1-2">
It is valid for an offer "m=" line to include no SDP "candidate" attributes
and have the default destination set to the IP address values
"0.0.0.0"/"::" and the port value to "9". 
This implies that the offering agent is only going to use peer-reflexive
candidates or will provide additional candidates in subsequent signaling
messages.
</t>
          <dl newline="false" spacing="normal" indent="3" pn="section-4.3.1-3">
            <dt pn="section-4.3.1-3.1">Note:</dt>
            <dd pn="section-4.3.1-3.2">
Within the scope of this document, "initial offer" refers to the first
SDP offer that is sent in order to negotiate usage of ICE. It might, or
might not, be the initial SDP offer of the SDP session.
</dd>
          </dl>
          <dl newline="false" spacing="normal" indent="3" pn="section-4.3.1-4">
            <dt pn="section-4.3.1-4.1">Note:</dt>
            <dd pn="section-4.3.1-4.2">
The procedures in this document only consider "m=" sections associated
with data streams where ICE is used.
</dd>
          </dl>
        </section>
        <section numbered="true" toc="include" removeInRFC="false" pn="section-4.3.2">
          <name slugifiedName="name-sending-the-initial-answer">Sending the Initial Answer</name>
          <t indent="0" pn="section-4.3.2-1">
When an answerer receives an initial offer indicating
that the offerer supports ICE, and if the answerer accepts
the offer and the usage of ICE, the answerer <bcp14>MUST</bcp14> include 
in each "m=" section within the answer the SDP "candidate" 
attributes for each available candidate associated with 
the "m=" section.
In addition, the answerer <bcp14>MUST</bcp14> include an SDP "ice-ufrag"
attribute, an SDP "ice-pwd" attribute, and an SDP "ice-options"
attribute with an "ice2" attribute value in the answer. If the
answerer is a full ICE implementation, it <bcp14>SHOULD</bcp14> include an
"ice-pacing" attribute in the answer (if not included, the
default value will apply). A lite ICE implementation <bcp14>MUST NOT</bcp14>
include the "ice-pacing" attribute in the answer (as it will
not perform connectivity checks).
</t>
          <t indent="0" pn="section-4.3.2-2">
In each "m=" line, the answerer <bcp14>MUST</bcp14> use the same transport
protocol as was used in the offer "m=" line. If none of
the candidates in the "m=" line in the answer uses the same
transport protocol as indicated in the offer "m=" line,
then, in order to avoid ICE mismatch, the default destination
<bcp14>MUST</bcp14> be set to IP address values "0.0.0.0"/"::" and
port value of "9".
</t>
          <t indent="0" pn="section-4.3.2-3">
It is also valid for an answer "m=" line to include no SDP
"candidate" attributes and have the default destination set
to the IP address values "0.0.0.0"/"::" and the port value to "9".
This implies that the answering agent is only going to use 
peer-reflexive candidates or that additional candidates would be
provided in subsequent signaling messages.
</t>
          <t indent="0" pn="section-4.3.2-4">
Once the answerer has sent the answer, it can start performing
connectivity checks towards the peer candidates that were provided
in the offer.
</t>
          <t indent="0" pn="section-4.3.2-5">
If the offer does not indicate support of ICE (<xref target="sec-ice-mismatch" format="default" sectionFormat="of" derivedContent="Section 4.2.5"/>), the answerer
<bcp14>MUST NOT</bcp14> accept the usage of ICE. If the answerer still accepts
the offer, the answerer <bcp14>MUST NOT</bcp14> include any ICE-related SDP
attributes in the answer. Instead, the answerer will generate
the answer according to normal offer/answer procedures <xref target="RFC3264" format="default" sectionFormat="of" derivedContent="RFC3264"/>.
</t>
          <t indent="0" pn="section-4.3.2-6">
If the answerer detects a possibility of an ICE mismatch,
procedures described in <xref target="sec-ice-mismatch" format="default" sectionFormat="of" derivedContent="Section 4.2.5"/> are followed.
</t>
        </section>
        <section numbered="true" toc="include" removeInRFC="false" pn="section-4.3.3">
          <name slugifiedName="name-receiving-the-initial-answe">Receiving the Initial Answer</name>
          <t indent="0" pn="section-4.3.3-1">
When an offerer receives an initial answer that indicates
that the answerer supports ICE, it can start performing
connectivity checks towards the peer candidates that were
provided in the answer.
</t>
          <t indent="0" pn="section-4.3.3-2">
If the answer does not indicate that the answerer supports ICE, or if the
answerer included "ice-mismatch" attributes for all the active data streams
in the answer, the offerer <bcp14>MUST</bcp14> terminate the usage of ICE for
the entire session, and <xref target="RFC3264" format="default" sectionFormat="of" derivedContent="RFC3264"/> procedures
<bcp14>MUST</bcp14> be followed instead.
</t>
          <t indent="0" pn="section-4.3.3-3">
On the other hand, if the answer indicates support for
ICE but includes "ice-mismatch" in certain active data
streams, then the offerer <bcp14>MUST</bcp14> terminate the usage of ICE
procedures, and <xref target="RFC3264" format="default" sectionFormat="of" derivedContent="RFC3264"/> procedures
<bcp14>MUST</bcp14> be used instead for only these data streams. Also, ICE
procedures <bcp14>MUST</bcp14> be used for data streams where an "ice-mismatch"
attribute was not included.
</t>
          <t indent="0" pn="section-4.3.3-4">
If the offerer detects an ICE mismatch for one or more data streams in the
answer, as described in <xref target="sec-ice-mismatch" format="default" sectionFormat="of" derivedContent="Section 4.2.5"/>,
the offerer <bcp14>MUST</bcp14> terminate the usage of ICE for the entire
session.  The subsequent actions taken by the offerer are implementation
dependent and are out of the scope of this specification.
</t>
        </section>
        <section numbered="true" toc="include" removeInRFC="false" pn="section-4.3.4">
          <name slugifiedName="name-concluding-ice">Concluding ICE</name>
          <t indent="0" pn="section-4.3.4-1">
Once the agent has successfully nominated a pair <xref target="RFC8445" format="default" sectionFormat="of" derivedContent="RFC8445"/>, the state of the checklist associated with the pair is set
to Completed. Once the state of each checklist is set to either Completed or
Failed, for each Completed checklist, the agent checks whether the nominated
pair matches the default candidate pair. If there are one or more pairs that
do not match, and the peer did not indicate support for the 'ice2' ice-option,
the controlling agent <bcp14>MUST</bcp14> generate a subsequent offer in which
the connection address, port, and transport protocol in the "c=" and "m="
lines associated with each data stream match the corresponding local
information of the nominated pair for that data stream (<xref target="sec-send-subsequent-offer-after-nom" format="default" sectionFormat="of" derivedContent="Section 4.4.1.2.2"/>).  If the peer
did indicate support for the 'ice2' ice-option, the controlling agent does not
immediately need to generate an updated offer in order to align a connection
address, port, and protocol with a nominated pair. However, later in the
session, whenever the controlling agent does send a subsequent offer, it
<bcp14>MUST</bcp14> do the alignment as described above.
          </t>
          <t indent="0" pn="section-4.3.4-2">
If there are one or more checklists with the state set to Failed, the
controlling agent <bcp14>MUST</bcp14> generate a subsequent offer in order to
remove the associated data streams by setting the port value of the data
streams to zero (<xref target="sec-send-subsequent-offer-remove" format="default" sectionFormat="of" derivedContent="Section 4.4.1.1.2"/>), even if the peer did indicate support for the 'ice2'
ice-option. If needed, such offer is used to align the connection address,
port, and transport protocol, as described above.
          </t>
          <t indent="0" pn="section-4.3.4-3">
As described in <xref target="RFC8445" format="default" sectionFormat="of" derivedContent="RFC8445"/>, once the controlling agent has nominated
a candidate pair for a checklist, the agent <bcp14>MUST NOT</bcp14> nominate another pair
for that checklist during the lifetime of the ICE session (i.e., until
ICE is restarted).
</t>
          <t indent="0" pn="section-4.3.4-4">
  <xref target="RFC8863" format="default" sectionFormat="of" derivedContent="RFC8863"/> provides a mechanism for
  allowing the ICE process to run long enough in order to find working candidate pairs,
  by waiting for potential peer-reflexive candidates, even though no candidate pairs were
  received from the peer or all current candidate pairs associated with a checklist have
  either failed or been discarded. 
</t>
        </section>
      </section>
      <section numbered="true" toc="include" removeInRFC="false" pn="section-4.4">
        <name slugifiedName="name-subsequent-offer-answer-exc">Subsequent Offer/Answer Exchanges</name>
        <t indent="0" pn="section-4.4-1">
Either agent <bcp14>MAY</bcp14> generate a subsequent offer at any time allowed by
<xref target="RFC3264" format="default" sectionFormat="of" derivedContent="RFC3264"/>. This section defines rules for construction of subsequent
offers and answers.
</t>
        <t indent="0" pn="section-4.4-2">
Should a subsequent offer fail, ICE processing continues as if the
subsequent offer had never been made.
</t>
        <section anchor="sec-send-subsequent-offer" numbered="true" toc="include" removeInRFC="false" pn="section-4.4.1">
          <name slugifiedName="name-sending-subsequent-offer">Sending Subsequent Offer</name>
          <section numbered="true" toc="exclude" removeInRFC="false" pn="section-4.4.1.1">
            <name slugifiedName="name-procedures-for-all-implemen">Procedures for All Implementations</name>
            <section anchor="sec-suboffer-restarts" numbered="true" toc="exclude" removeInRFC="false" pn="section-4.4.1.1.1">
              <name slugifiedName="name-ice-restart">ICE Restart</name>
              <t indent="0" pn="section-4.4.1.1.1-1">
An agent <bcp14>MAY</bcp14> restart ICE processing for an existing data stream <xref target="RFC8445" format="default" sectionFormat="of" derivedContent="RFC8445"/>.
</t>
              <t indent="0" pn="section-4.4.1.1.1-2">
The rules governing the ICE restart imply that setting the connection address
in the "c=" line to "0.0.0.0" (for IPv4)/ "::" (for IPv6) will cause an ICE restart.
Consequently, ICE implementations <bcp14>MUST NOT</bcp14> utilize this mechanism for call hold,
and instead <bcp14>MUST</bcp14> use "inactive" and "sendonly" as described in 
<xref target="RFC3264" format="default" sectionFormat="of" derivedContent="RFC3264"/>.
</t>
              <t indent="0" pn="section-4.4.1.1.1-3">
To restart ICE, an agent <bcp14>MUST</bcp14> change both the "ice-pwd" and the "ice-ufrag" for
the data stream in an offer. However, it is permissible to use a session-level
attribute in one offer, but to provide the same "ice-pwd" or "ice-ufrag" as a
media-level attribute in a subsequent offer. This <bcp14>MUST NOT</bcp14> be considered
as ICE restart.
</t>
              <t indent="0" pn="section-4.4.1.1.1-4">
An agent sets the rest of the ICE-related fields in the SDP for this data stream as it
would in an initial offer of this data stream (<xref target="sec-encoding" format="default" sectionFormat="of" derivedContent="Section 4.2.1"/>).
Consequently, the set of candidates <bcp14>MAY</bcp14> include some, none, or all of the
previous candidates for that data stream and <bcp14>MAY</bcp14> include a totally new set of
candidates. The agent <bcp14>MAY</bcp14> modify the attribute values of the SDP "ice-options" and
SDP "ice-pacing" attributes, and it <bcp14>MAY</bcp14> change its role using the SDP "ice-lite" attribute.
The agent <bcp14>MUST NOT</bcp14> modify the SDP "ice-options", "ice-pacing", and "ice-lite" attributes in a
subsequent offer unless the offer is sent in order to request an ICE restart.
</t>
            </section>
            <section anchor="sec-send-subsequent-offer-remove" numbered="true" toc="exclude" removeInRFC="false" pn="section-4.4.1.1.2">
              <name slugifiedName="name-removing-a-data-stream">Removing a Data Stream</name>
              <t indent="0" pn="section-4.4.1.1.2-1">
If an agent removes a data stream by setting its port to zero, it <bcp14>MUST NOT</bcp14>
include any "candidate" attributes for that data stream and <bcp14>SHOULD NOT</bcp14> include
any other ICE-related attributes defined in <xref target="sec-grammar" format="default" sectionFormat="of" derivedContent="Section 5"/> for that data stream.
</t>
            </section>
            <section numbered="true" toc="exclude" removeInRFC="false" pn="section-4.4.1.1.3">
              <name slugifiedName="name-adding-a-data-stream">Adding a Data Stream</name>
              <t indent="0" pn="section-4.4.1.1.3-1">
If an agent wishes to add a new data stream, it sets the fields in the SDP for
this data stream as if this were an initial offer for that data stream
(<xref target="sec-encoding" format="default" sectionFormat="of" derivedContent="Section 4.2.1"/>). This will cause ICE processing to begin for this data stream.
</t>
            </section>
          </section>
          <section numbered="true" toc="exclude" removeInRFC="false" pn="section-4.4.1.2">
            <name slugifiedName="name-procedures-for-full-impleme">Procedures for Full Implementations</name>
            <t indent="0" pn="section-4.4.1.2-1">
This section describes additional procedures for full implementations,
covering existing data streams.
</t>
            <section numbered="true" toc="exclude" removeInRFC="false" pn="section-4.4.1.2.1">
              <name slugifiedName="name-before-nomination">Before Nomination</name>
              <t indent="0" pn="section-4.4.1.2.1-1">
When an offerer sends a subsequent offer; in each "m=" section for which a
candidate pair has not yet been nominated, the offer <bcp14>MUST</bcp14> include the
same set of ICE-related information that the offerer included in the
previous offer or answer. The agent <bcp14>MAY</bcp14> include additional candidates
it did not offer previously, but which it has gathered since the last
offer/answer exchange, including peer-reflexive candidates.
</t>
              <t indent="0" pn="section-4.4.1.2.1-2">
The agent <bcp14>MAY</bcp14> change the default destination for media. As with initial
offers, there <bcp14>MUST</bcp14> be a set of "candidate" attributes in the offer matching
this default destination.
</t>
            </section>
            <section anchor="sec-send-subsequent-offer-after-nom" numbered="true" toc="exclude" removeInRFC="false" pn="section-4.4.1.2.2">
              <name slugifiedName="name-after-nomination">After Nomination</name>
              <t indent="0" pn="section-4.4.1.2.2-1">
Once a candidate pair has been nominated for a data stream, the connection address,
port, and transport protocol in each "c=" and "m=" line associated with that data
stream <bcp14>MUST</bcp14> match the data associated with the nominated pair for that
data stream. In addition, the offerer only includes SDP "candidate" attributes
(one per component) representing the local candidates of the nominated candidate pair. 
The offerer <bcp14>MUST NOT</bcp14> include any other SDP "candidate" attributes in the
subsequent offer.
</t>
              <t indent="0" pn="section-4.4.1.2.2-2">
In addition, if the agent is controlling, it <bcp14>MUST</bcp14> include the
"remote-candidates" attribute for each data stream whose checklist
is in the Completed state. The attribute contains the remote candidates
corresponding to the nominated pair in the valid list for each
component of that data stream. It is needed to avoid a race condition
whereby the controlling agent chooses its pairs, but the updated offer
beats the connectivity checks to the controlled agent, which doesn't
even know these pairs are valid, let alone selected. See <xref target="sec-why-remote" format="default" sectionFormat="of" derivedContent="Appendix B"/>
for elaboration on this race condition.
</t>
            </section>
          </section>
          <section numbered="true" toc="exclude" removeInRFC="false" pn="section-4.4.1.3">
            <name slugifiedName="name-procedures-for-lite-impleme">Procedures for Lite Implementations</name>
            <t indent="0" pn="section-4.4.1.3-1">
If the ICE state is Running, a lite implementation <bcp14>MUST</bcp14> include all of
its candidates for each component of each data stream in "candidate"
attributes in any subsequent offer. The candidates are formed identically
to the procedures for initial offers.
</t>
            <t indent="0" pn="section-4.4.1.3-2">
A lite implementation <bcp14>MUST NOT</bcp14> add additional host candidates in a
subsequent offer, and <bcp14>MUST NOT</bcp14> modify the username fragments and
passwords. If an agent needs to offer additional candidates, or 
to modify the username fragments and passwords, it <bcp14>MUST</bcp14> request an 
ICE restart (<xref target="sec-suboffer-restarts" format="default" sectionFormat="of" derivedContent="Section 4.4.1.1.1"/>) for that data stream.
</t>
            <t indent="0" pn="section-4.4.1.3-3">
If ICE has completed for a data stream, and if the agent is controlled,
the default destination for that data stream <bcp14>MUST</bcp14> be set to the
remote candidate of the candidate pair for that component in the valid list.
For a lite implementation, there is always just a single candidate pair in
the valid list for each component of a data stream. Additionally, the agent
<bcp14>MUST</bcp14> include a "candidate" attribute for each default destination.
</t>
            <t indent="0" pn="section-4.4.1.3-4">
If the ICE state is Completed, and if the agent is controlling (which only
happens when both agents are lite), the agent <bcp14>MUST</bcp14> include the
"remote-candidates" attribute for each data stream.  The attribute
contains the remote candidates from the candidate pairs in the
valid list (one pair for each component of each data stream).
</t>
          </section>
        </section>
        <section anchor="sec-subsequent-answer" numbered="true" toc="include" removeInRFC="false" pn="section-4.4.2">
          <name slugifiedName="name-sending-subsequent-answer">Sending Subsequent Answer</name>
          <t indent="0" pn="section-4.4.2-1">
If ICE is Completed for a data stream, and the offer for that data
stream lacked the "remote-candidates" attribute, the rules for
construction of the answer are identical to those for the offerer,
except that the answerer <bcp14>MUST NOT</bcp14> include the "remote-candidates"
attribute in the answer.
</t>
          <t indent="0" pn="section-4.4.2-2">
A controlled agent will receive an offer with the "remote-candidates"
attribute for a data stream when its peer has concluded ICE processing
for that data stream. This attribute is present in the
offer to deal with a race condition between the receipt of the offer,
and the receipt of the Binding response that tells the answerer the
candidate that will be selected by ICE. See <xref target="sec-why-remote" format="default" sectionFormat="of" derivedContent="Appendix B"/> for an
explanation of this race condition. Consequently, processing of an
offer with this attribute depends on the winner of the race.
</t>
          <t indent="0" pn="section-4.4.2-3">
The agent forms a candidate pair for each component of the data stream by:
</t>
          <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-4.4.2-4">
            <li pn="section-4.4.2-4.1">
Setting the remote candidate equal to the offerer's default
destination for that component (i.e., the contents of the "m=" and
"c=" lines for RTP, and the "rtcp" attribute for RTCP)

</li>
            <li pn="section-4.4.2-4.2">
Setting the local candidate equal to the transport address for
that same component in the "remote-candidates" attribute in the
offer.

</li>
          </ul>
          <t indent="0" pn="section-4.4.2-5">
The agent then sees if each of these candidate pairs is present
in the valid list.  If a particular pair is not in the valid list,
the check has "lost" the race.  Call such a pair a "losing pair".
</t>
          <t indent="0" pn="section-4.4.2-6">
The agent finds all the pairs in the checklist whose remote
candidates equal the remote candidate in the losing pair:
</t>
          <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-4.4.2-7">
            <li pn="section-4.4.2-7.1">
If none of the pairs is In-Progress, and at least one is Failed,
it is most likely that a network failure, such as a network
partition or serious packet loss, has occurred.  The agent <bcp14>SHOULD</bcp14>
generate an answer for this data stream as if the "remote-
candidates" attribute had not been present, and then restart ICE
for this stream.

</li>
            <li pn="section-4.4.2-7.2">
If at least one of the pairs is In-Progress, the agent <bcp14>SHOULD</bcp14> wait
for those checks to complete, and as each completes, redo the
processing in this section until there are no losing pairs.

</li>
          </ul>
          <t indent="0" pn="section-4.4.2-8">
Once there are no losing pairs, the agent can generate the answer.
It <bcp14>MUST</bcp14> set the default destination for media to the candidates in
the "remote-candidates" attribute from the offer (each of which will
now be the local candidate of a candidate pair in the valid list).
It <bcp14>MUST</bcp14> include a "candidate" attribute in the answer for each
candidate in the "remote-candidates" attribute in the offer.
</t>
          <section numbered="true" toc="exclude" removeInRFC="false" pn="section-4.4.2.1">
            <name slugifiedName="name-ice-restart-2">ICE Restart</name>
            <t indent="0" pn="section-4.4.2.1-1">
If the offerer in a subsequent offer requested an ICE restart (<xref target="sec-suboffer-restarts" format="default" sectionFormat="of" derivedContent="Section 4.4.1.1.1"/>)
for a data stream, and if the answerer accepts the offer, the
answerer follows the procedures for generating an initial answer.
</t>
            <t indent="0" pn="section-4.4.2.1-2">
For a given data stream, the answerer <bcp14>MAY</bcp14> include the same
candidates that were used in the previous ICE session, but
it <bcp14>MUST</bcp14> change the SDP "ice-pwd" and "ice-ufrag" attribute
values.
</t>
            <t indent="0" pn="section-4.4.2.1-3">
The answerer <bcp14>MAY</bcp14> modify the attribute values of the SDP "ice-options" and
SDP "ice-pacing" attributes, and it <bcp14>MAY</bcp14> change its role using the SDP "ice-lite" attribute.
The answerer <bcp14>MUST NOT</bcp14> modify the SDP "ice-options", "ice-pacing", and "ice-lite" attributes in a
subsequent answer unless the answer is sent for an offer that was used to request an ICE restart
(<xref target="sec-suboffer-restarts" format="default" sectionFormat="of" derivedContent="Section 4.4.1.1.1"/>). If any of the SDP attributes have been modified in
a subsequent offer that is not used to request an ICE restart, the answerer <bcp14>MUST</bcp14> reject the
offer.
</t>
          </section>
          <section numbered="true" toc="exclude" removeInRFC="false" pn="section-4.4.2.2">
            <name slugifiedName="name-lite-implementation-specifi">Lite Implementation Specific Procedures</name>
            <t indent="0" pn="section-4.4.2.2-1">
If the received offer contains the "remote-candidates" attribute for a
data stream, the agent forms a candidate pair for each component of the
data stream by:
</t>
            <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-4.4.2.2-2">
              <li pn="section-4.4.2.2-2.1">
Setting the remote candidate equal to the offerer's default destination
for that component (i.e., the contents of the "m=" and "c=" lines for RTP,
and the "rtcp" attribute for RTCP).

</li>
              <li pn="section-4.4.2.2-2.2">
Setting the local candidate equal to the transport address for that same
component in the "remote-candidates" attribute in the offer.

</li>
            </ul>
            <t indent="0" pn="section-4.4.2.2-3">
The state of the checklist associated with that data stream is set to Completed.
</t>
            <t indent="0" pn="section-4.4.2.2-4">
Furthermore, if the agent believed it was controlling, but the offer contained
the "remote-candidates" attribute, both agents believe they are controlling.
In this case, both would have sent updated offers around the same time.
</t>
            <t indent="0" pn="section-4.4.2.2-5">
However, the signaling protocol carrying the offer/answer exchanges
will have resolved this glare condition, so that one agent is always
the 'winner' by having its offer received before its peer has sent
an offer. The winner takes the role of controlling, so that the
loser (the answerer under consideration in this section) <bcp14>MUST</bcp14>
change its role to controlled.
</t>
            <t indent="0" pn="section-4.4.2.2-6">
   Consequently, if the agent was controlling based on the rules 
   in <xref target="RFC8445" sectionFormat="of" section="8.2" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8445#section-8.2" derivedContent="RFC8445"/>
   and was going to send an updated offer, it no longer needs to.

</t>
            <t indent="0" pn="section-4.4.2.2-7">
Besides the potential role change, change in the valid list, and
state changes, the construction of the answer is performed identically
to the construction of an offer.
</t>
          </section>
        </section>
        <section numbered="true" toc="include" removeInRFC="false" pn="section-4.4.3">
          <name slugifiedName="name-receiving-answer-for-a-subs">Receiving Answer for a Subsequent Offer</name>
          <section numbered="true" toc="exclude" removeInRFC="false" pn="section-4.4.3.1">
            <name slugifiedName="name-procedures-for-full-implemen">Procedures for Full Implementations</name>
            <t indent="0" pn="section-4.4.3.1-1">
There may be certain situations where the offerer receives
an SDP answer that lacks ICE candidates although the initial answer
included them. One example of such an "unexpected" answer might 
happen when an ICE-unaware Back-to-Back User Agent (B2BUA)
introduces a media server during call hold using third party
call control procedures <xref target="RFC3725" format="default" sectionFormat="of" derivedContent="RFC3725"/>. 
Omitting further details on how this is done, this could
result in an answer that was constructed by the B2BUA 
being received at the holding UA. With the B2BUA being
ICE-unaware, that answer would not include ICE candidates.
</t>
            <t indent="0" pn="section-4.4.3.1-2">
Receiving an answer without ICE attributes in this situation might be
unexpected, but would not necessarily impair the user experience.
</t>
            <t indent="0" pn="section-4.4.3.1-3">
When the offerer receives an answer indicating support for ICE, the
offer performs one of the following actions:
</t>
            <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-4.4.3.1-4">
              <li pn="section-4.4.3.1-4.1">
If the offer was a restart, the agent <bcp14>MUST</bcp14> perform ICE restart
procedures as specified in <xref target="sec-restart-subsequent" format="default" sectionFormat="of" derivedContent="Section 4.4.3.1.1"/>.</li>
              <li pn="section-4.4.3.1-4.2">
If the offer/answer exchange removed a data stream, or an
answer rejected an offered data stream, an agent <bcp14>MUST</bcp14> flush the
valid list for that data stream. It <bcp14>MUST</bcp14> also terminate any
STUN transactions in progress for that data stream.
</li>
              <li pn="section-4.4.3.1-4.3">
If the offer/answer exchange added a new data stream, the agent
<bcp14>MUST</bcp14> create a new checklist for it (and an empty valid list to
start of course), which in turn triggers the candidate
processing procedures <xref target="RFC8445" format="default" sectionFormat="of" derivedContent="RFC8445"/>.
</li>
              <li pn="section-4.4.3.1-4.4">
If the checklist state associated with a data stream is Running, the agent
recomputes the checklist. If a pair on the new checklist was
also on the previous checklist, its candidate pair state is copied over.
  Otherwise, its candidate pair state is set to Frozen. If none of the checklists
  are active (meaning that the candidate pair states in each checklist
  are Frozen), appropriate procedures in <xref target="RFC8445" format="default" sectionFormat="of" derivedContent="RFC8445"/>
  are performed to move candidate pair(s) to the Waiting state to
  further continue ICE processing.
</li>
              <li pn="section-4.4.3.1-4.5">
If the ICE state is Completed, and the SDP answer conforms to
<xref target="sec-subsequent-answer" format="default" sectionFormat="of" derivedContent="Section 4.4.2"/>, the agent <bcp14>MUST</bcp14> remain in the 
Completed ICE state.

</li>
            </ul>
            <t indent="0" pn="section-4.4.3.1-5">
However, if the ICE support is no longer indicated in the SDP answer,
the agent <bcp14>MUST</bcp14> fall back to <xref target="RFC3264" format="default" sectionFormat="of" derivedContent="RFC3264"/> 
procedures and <bcp14>SHOULD NOT</bcp14> drop the dialog because of the 
missing ICE support or unexpected answer.
When the agent sends a new offer, it <bcp14>MUST</bcp14> perform an ICE restart.
</t>
            <section anchor="sec-restart-subsequent" numbered="true" toc="exclude" removeInRFC="false" pn="section-4.4.3.1.1">
              <name slugifiedName="name-ice-restarts">ICE Restarts</name>
              <t indent="0" pn="section-4.4.3.1.1-1">
The agent <bcp14>MUST</bcp14> remember the nominated pair in the valid list for each
component of the data stream, called the "previous selected pair", prior
to the restart. The agent will continue to send media using this pair,
as described in <xref target="RFC8445" sectionFormat="of" section="12" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8445#section-12" derivedContent="RFC8445"/>. Once these destinations are
noted, the agent <bcp14>MUST</bcp14> flush the valid lists and checklists, and then recompute
the checklist and its states, thus triggering the candidate processing
procedures <xref target="RFC8445" format="default" sectionFormat="of" derivedContent="RFC8445"/>.</t>
            </section>
          </section>
          <section numbered="true" toc="exclude" removeInRFC="false" pn="section-4.4.3.2">
            <name slugifiedName="name-procedures-for-lite-implemen">Procedures for Lite Implementations</name>
            <t indent="0" pn="section-4.4.3.2-1">
If ICE is restarting for a data stream, the agent <bcp14>MUST</bcp14> create a new
valid list for that data stream. It <bcp14>MUST</bcp14> remember the nominated pair in the
previous valid list for each component of the data stream, called
the "previous selected pairs", and continue to send media there as
described in <xref target="RFC8445" sectionFormat="of" section="12" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8445#section-12" derivedContent="RFC8445"/>. The state of each
checklist for each data stream <bcp14>MUST</bcp14> change to Running, and the ICE state
<bcp14>MUST</bcp14> be set to Running.
</t>
          </section>
        </section>
      </section>
    </section>
    <section anchor="sec-grammar" numbered="true" toc="include" removeInRFC="false" pn="section-5">
      <name slugifiedName="name-grammar">Grammar</name>
      <t indent="0" pn="section-5-1">
This specification defines eight new SDP attributes -- the "candidate",
"remote-candidates", "ice-lite", "ice-mismatch", "ice-ufrag", "ice-pwd", "ice-pacing",
and "ice-options" attributes.
</t>
      <t indent="0" pn="section-5-2">
This section also provides non-normative examples of the attributes defined.
</t>
      <t indent="0" pn="section-5-3">
The syntax for the attributes follow Augmented BNF as defined in <xref target="RFC5234" format="default" sectionFormat="of" derivedContent="RFC5234"/>.
</t>
      <section numbered="true" toc="include" removeInRFC="false" pn="section-5.1">
        <name slugifiedName="name-candidate-attribute">"candidate" Attribute</name>
        <t indent="0" pn="section-5.1-1">
The "candidate" attribute is a media-level attribute only.
It contains a transport address for a candidate that can be used for connectivity checks.
</t>
        <sourcecode name="" type="abnf" markers="false" pn="section-5.1-2">
candidate-attribute   = "candidate" ":" foundation SP component-id SP
                        transport SP
                        priority SP
                        connection-address SP     ;from RFC 4566
                        port         ;port from RFC 4566
                        SP cand-type
                        [SP rel-addr]
                        [SP rel-port]
                        *(SP cand-extension)

foundation            = 1*32ice-char
component-id          = 1*3DIGIT
transport             = "UDP" / transport-extension
transport-extension   = token              ; from RFC 3261
priority              = 1*10DIGIT
cand-type             = "typ" SP candidate-types
candidate-types       = "host" / "srflx" / "prflx" / "relay" / token
rel-addr              = "raddr" SP connection-address
rel-port              = "rport" SP port
cand-extension        = extension-att-name SP extension-att-value
extension-att-name    = token
extension-att-value   = *VCHAR
ice-char              = ALPHA / DIGIT / "+" / "/"
</sourcecode>
        <t indent="0" pn="section-5.1-3">
This grammar encodes the primary information about a candidate: its IP address,
port and transport protocol, and its properties: the foundation, component ID, priority,
type, and related transport address:
</t>
        <dl newline="false" spacing="normal" indent="3" pn="section-5.1-4">
          <dt pn="section-5.1-4.1">&lt;connection-address&gt;:</dt>
          <dd pn="section-5.1-4.2">
is taken from RFC 4566 <xref target="RFC4566" format="default" sectionFormat="of" derivedContent="RFC4566"/>.
It is the IP address of the candidate, allowing for
IPv4 addresses, IPv6 addresses, and fully qualified domain names (FQDNs).
When parsing this field, an agent can differentiate an IPv4 address
and an IPv6 address by presence of a colon in its value -
the presence of a colon indicates IPv6.  An agent generating
local candidates <bcp14>MUST NOT</bcp14> use FQDN addresses. An agent processing remote
candidates <bcp14>MUST</bcp14> ignore "candidate" lines that include candidates with
FQDNs or IP address versions that are not supported or recognized.
The procedures for generation and handling of FQDN candidates, as well as,
how agents indicate support for such procedures, need to be specified in an
extension specification.
</dd>
          <dt pn="section-5.1-4.3">&lt;port&gt;:</dt>
          <dd pn="section-5.1-4.4">
is also taken from RFC 4566 <xref target="RFC4566" format="default" sectionFormat="of" derivedContent="RFC4566"/>.
It is the port of the candidate.
</dd>
          <dt pn="section-5.1-4.5">&lt;transport&gt;:</dt>
          <dd pn="section-5.1-4.6">
indicates the transport protocol for the candidate.
This specification only defines UDP. However, extensibility is provided to allow for
future transport protocols to be used with ICE by extending the subregistry
"ICE Transport Protocols" under the "Interactive Connectivity Establishment (ICE)" registry.
</dd>
          <dt pn="section-5.1-4.7">&lt;foundation&gt;:</dt>
          <dd pn="section-5.1-4.8">
is composed of 1 to 32 &lt;ice-char&gt;s.
It is an identifier that is equivalent for two candidates that are of the same type,
share the same base, and come from the same STUN server.
The foundation is used to optimize ICE performance in the Frozen algorithm as
described in <xref target="RFC8445" format="default" sectionFormat="of" derivedContent="RFC8445"/>.</dd>
          <dt pn="section-5.1-4.9">&lt;component-id&gt;:</dt>
          <dd pn="section-5.1-4.10">
is a positive integer between 1 and 256 (inclusive) that
identifies the specific component of the data stream for which this is a candidate.
It <bcp14>MUST</bcp14> start at 1 and <bcp14>MUST</bcp14> increment by 1 for each component of a particular candidate.
For data streams based on RTP, candidates for the actual RTP media <bcp14>MUST</bcp14> have a component
ID of 1, and candidates for RTCP <bcp14>MUST</bcp14> have a component ID of 2.
See <xref target="RFC8445" sectionFormat="of" section="13" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8445#section-13" derivedContent="RFC8445"/> for additional discussion on extending ICE to new data streams.
</dd>
          <dt pn="section-5.1-4.11">&lt;priority&gt;:</dt>
          <dd pn="section-5.1-4.12">
is a positive integer between 1 and (2**31 - 1) inclusive. The procedures
for computing a candidate's priority are described in <xref target="RFC8445" sectionFormat="of" section="5.1.2" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8445#section-5.1.2" derivedContent="RFC8445"/>.
</dd>
          <dt pn="section-5.1-4.13">&lt;cand-type&gt;:</dt>
          <dd pn="section-5.1-4.14">
encodes the type of candidate.
This specification defines the values "host", "srflx", "prflx", and "relay" for host,
server-reflexive, peer-reflexive, and relayed candidates, respectively.
Specifications for new candidate types <bcp14>MUST</bcp14> define how, if at all, various steps in the ICE
processing differ from the ones defined by this specification.
</dd>
          <dt pn="section-5.1-4.15">&lt;rel-addr&gt; and &lt;rel-port&gt;:</dt>
          <dd pn="section-5.1-4.16">
convey transport addresses related to the candidate, useful for diagnostics 
and other purposes. &lt;rel-addr&gt; and &lt;rel-port&gt; <bcp14>MUST</bcp14> be present for 
server-reflexive, peer-reflexive, and relayed candidates. 
If a candidate is server-reflexive or peer-reflexive, &lt;rel-addr&gt; and &lt;rel-port&gt; 
are equal to the base for that server-reflexive or  peer-reflexive candidate. 
If the candidate is relayed, &lt;rel-addr&gt; and &lt;rel-port&gt; are equal to 
the mapped address in the Allocate response that provided the client with 
that relayed candidate (see <xref target="RFC5766" section="6.3" sectionFormat="of" format="default" derivedLink="https://rfc-editor.org/rfc/rfc5766#section-6.3" derivedContent="RFC5766"/>). 
If the candidate is a host candidate, &lt;rel-addr&gt; and &lt;rel-port&gt; MUST be omitted.
</dd>
          <dt pn="section-5.1-4.17"/>
          <dd pn="section-5.1-4.18">
In some cases, e.g., for privacy reasons, an agent may not want to reveal the related
address and port. In this case the address <bcp14>MUST</bcp14> be set to "0.0.0.0" (for IPv4 candidates)
or "::" (for IPv6 candidates) and the port to "9".
</dd>
        </dl>
        <t indent="0" pn="section-5.1-5">
The "candidate" attribute can itself be extended. The grammar allows for new name/value pairs
to be added at the end of the attribute. Such extensions <bcp14>MUST</bcp14> be made through IETF Review or
IESG Approval <xref target="RFC8126" format="default" sectionFormat="of" derivedContent="RFC8126"/>, and the assignments <bcp14>MUST</bcp14> contain the specific extension and a
reference to the document defining the usage of the extension.
</t>
        <t indent="0" pn="section-5.1-6">
An implementation <bcp14>MUST</bcp14> ignore any name/value pairs it doesn't understand.
</t>
        <t indent="0" pn="section-5.1-7">
The following is an example SDP line for a UDP server-reflexive "candidate" attribute for
the RTP component:
</t>
        <sourcecode name="" type="sdp" markers="false" pn="section-5.1-8">
a=candidate:2 1 UDP 1694498815 192.0.2.3 45664 typ srflx raddr
203.0.113.141 rport 8998
</sourcecode>
      </section>
      <section numbered="true" toc="include" removeInRFC="false" pn="section-5.2">
        <name slugifiedName="name-remote-candidates-attribute">"remote-candidates" Attribute</name>
        <t indent="0" pn="section-5.2-1">
The syntax of the "remote-candidates" attribute is defined using Augmented BNF
as defined in <xref target="RFC5234" format="default" sectionFormat="of" derivedContent="RFC5234"/>.
The "remote-candidates" attribute is a media-level attribute only.
</t>
        <sourcecode type="abnf" markers="false" pn="section-5.2-2">
remote-candidate-att = "remote-candidates:" remote-candidate
                         0*(SP remote-candidate)
remote-candidate = component-id SP connection-address SP port
</sourcecode>
        <t indent="0" pn="section-5.2-3">
The attribute contains a connection-address and port for each component. The ordering
of components is irrelevant. However, a value <bcp14>MUST</bcp14> be present for each component of a
data stream. This attribute <bcp14>MUST</bcp14> be included in an offer by a controlling agent for
a data stream that is Completed, and <bcp14>MUST NOT</bcp14> be included in any other case.
</t>
        <t indent="0" pn="section-5.2-4">
The following is an example of "remote-candidates" SDP lines for the RTP and RTCP components:
</t>
        <sourcecode name="" type="sdp" markers="false" pn="section-5.2-5">
a=remote-candidates:1 192.0.2.3 45664
a=remote-candidates:2 192.0.2.3 45665
</sourcecode>
      </section>
      <section numbered="true" toc="include" removeInRFC="false" pn="section-5.3">
        <name slugifiedName="name-ice-lite-and-ice-mismatch-a">"ice-lite" and "ice-mismatch" Attributes</name>
        <t indent="0" pn="section-5.3-1">
The syntax of the "ice-lite" and "ice-mismatch" attributes, both of which are flags, is:
</t>
        <sourcecode type="abnf" markers="false" pn="section-5.3-2">
ice-lite               = "ice-lite"
ice-mismatch           = "ice-mismatch"
</sourcecode>
        <t indent="0" pn="section-5.3-3">
"ice-lite" is a session-level attribute only, and indicates that an agent is a
lite implementation. "ice-mismatch" is a media-level attribute and only
reported in the answer. It indicates that the offer arrived with a default
destination for a media component that didn't have a corresponding "candidate"
attribute. Inclusion of "ice-mismatch" attribute for a given data stream implies
that even though both agents support ICE, ICE procedures <bcp14>MUST NOT</bcp14> be used for this data
stream, and <xref target="RFC3264" format="default" sectionFormat="of" derivedContent="RFC3264"/> procedures <bcp14>MUST</bcp14> be used instead.
</t>
      </section>
      <section numbered="true" toc="include" removeInRFC="false" pn="section-5.4">
        <name slugifiedName="name-ice-ufrag-and-ice-pwd-attri">"ice-ufrag" and "ice-pwd" Attributes</name>
        <t indent="0" pn="section-5.4-1">
The "ice-ufrag" and "ice-pwd" attributes convey the username fragment and password used by ICE for message integrity.
Their syntax is:
</t>
        <sourcecode type="abnf" markers="false" pn="section-5.4-2">
ice-pwd-att           = "ice-pwd:" password
ice-ufrag-att         = "ice-ufrag:" ufrag
password              = 22*256ice-char
ufrag                 = 4*256ice-char
</sourcecode>
        <t indent="0" pn="section-5.4-3">
The "ice-pwd" and "ice-ufrag" attributes can appear at either the session-level
or media-level. When present in both, the value in the media-level takes precedence.
Thus, the value at the session-level is effectively a default that applies to all
data streams, unless overridden by a media-level value. Whether present at the session
or media-level, there <bcp14>MUST</bcp14> be an "ice-pwd" and "ice-ufrag" attribute for each data stream.
If two data streams have identical "ice-ufrag"s, they <bcp14>MUST</bcp14> have identical "ice-pwd"s.
</t>
        <t indent="0" pn="section-5.4-4">
The "ice-ufrag" and "ice-pwd" attributes <bcp14>MUST</bcp14> be chosen randomly at the beginning of
a session (the same applies when ICE is restarting for an agent).
</t>
        <t indent="0" pn="section-5.4-5"><xref target="RFC8445" format="default" sectionFormat="of" derivedContent="RFC8445"/> requires the "ice-ufrag" attribute to contain at least 24 bits of
randomness, and the "ice-pwd" attribute to contain at least 128 bits of
randomness. This means that the "ice-ufrag"
attribute will be at least 4 characters long, and the "ice-pwd" at least 22 characters long,
since the grammar for these attributes allows for 6 bits of information per character.
The attributes <bcp14>MAY</bcp14> be longer than 4 and 22 characters, respectively, of course, up to
256 characters. The upper limit allows for buffer sizing in implementations.
Its large upper limit allows for increased amounts of randomness to be added over time.
For compatibility with the 512-character limitation for the STUN username attribute value
and for bandwidth conservation considerations, the "ice-ufrag" attribute <bcp14>MUST NOT</bcp14> be longer
than 32 characters when sending, but an implementation  <bcp14>MUST</bcp14> accept up to 256 characters
when receiving.
</t>
        <t indent="0" pn="section-5.4-6">
The following example shows sample "ice-ufrag" and "ice-pwd" SDP lines:
</t>
        <sourcecode name="" type="sdp" markers="false" pn="section-5.4-7">
a=ice-pwd:asd88fgpdd777uzjYhagZg
a=ice-ufrag:8hhY
</sourcecode>
      </section>
      <section numbered="true" toc="include" removeInRFC="false" pn="section-5.5">
        <name slugifiedName="name-ice-pacing-attribute">"ice-pacing" Attribute</name>
        <t indent="0" pn="section-5.5-1">
The "ice-pacing" is a session-level attribute that indicates the desired connectivity-check pacing (Ta interval), in milliseconds, that the sender wishes to use. See
<xref target="RFC8445" sectionFormat="of" section="14.2" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8445#section-14.2" derivedContent="RFC8445"/> for more information regarding selecting a pacing value.
The syntax is:
</t>
        <sourcecode type="abnf" markers="false" pn="section-5.5-2">
ice-pacing-att            = "ice-pacing:" pacing-value
pacing-value              = 1*10DIGIT
</sourcecode>
        <t indent="0" pn="section-5.5-3">
If absent in an offer or answer, the default value of the attribute is 50 ms,
which is the recommended value specified in <xref target="RFC8445" format="default" sectionFormat="of" derivedContent="RFC8445"/>.
</t>
        <t indent="0" pn="section-5.5-4">
As defined in <xref target="RFC8445" format="default" sectionFormat="of" derivedContent="RFC8445"/>, regardless of the Ta value
chosen for each agent, the combination of all transactions from all agents (if a given
implementation runs several concurrent agents) will not be sent more often than
once every 5 ms. 
</t>
        <t indent="0" pn="section-5.5-5">
As defined in <xref target="RFC8445" format="default" sectionFormat="of" derivedContent="RFC8445"/>, once both agents have 
indicated the pacing value they want to use, both agents will use the larger of the 
indicated values. 
</t>
        <t indent="0" pn="section-5.5-6">
The following example shows an "ice-pacing" SDP line with value '50':
</t>
        <sourcecode name="" type="sdp" markers="false" pn="section-5.5-7">
a=ice-pacing:50
</sourcecode>
      </section>
      <section anchor="sec-ice-options" numbered="true" toc="include" removeInRFC="false" pn="section-5.6">
        <name slugifiedName="name-ice-options-attribute">"ice-options" Attribute</name>
        <t indent="0" pn="section-5.6-1">
The "ice-options" attribute is a session-level and media-level attribute.
It contains a series of tokens that identify the options supported by the agent.
Its grammar is:
</t>
        <sourcecode type="abnf" markers="false" pn="section-5.6-2">
ice-options           = "ice-options:" ice-option-tag
                          *(SP ice-option-tag)
ice-option-tag        = 1*ice-char
</sourcecode>
        <t indent="0" pn="section-5.6-3">
The existence of an "ice-options" in an offer indicates that a certain extension
is supported by the agent, and it is willing to use it if the peer agent also includes
the same extension in the answer. There might be further extension-specific
negotiation needed between the agents that determine how the extension gets used
in a given session. The details of the negotiation procedures, if present, <bcp14>MUST</bcp14> be
defined by the specification defining the extension (<xref target="sec-iana-ice-options" format="default" sectionFormat="of" derivedContent="Section 10.2"/>).
</t>
        <t indent="0" pn="section-5.6-4">The following example shows an "ice-options" SDP line with 'ice2' and 
'rtp+ecn' <xref target="RFC6679" format="default" sectionFormat="of" derivedContent="RFC6679"/> values.</t>
        <sourcecode name="" type="sdp" markers="false" pn="section-5.6-5">
a=ice-options:ice2 rtp+ecn
</sourcecode>
      </section>
    </section>
    <section anchor="sec-keepalive" numbered="true" toc="include" removeInRFC="false" pn="section-6">
      <name slugifiedName="name-keepalives">Keepalives</name>
      <t indent="0" pn="section-6-1">
All the ICE agents <bcp14>MUST</bcp14> follow the procedures defined in
 <xref target="RFC8445" sectionFormat="of" section="11" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8445#section-11" derivedContent="RFC8445"/>
for sending keepalives.  As defined in <xref target="RFC8445" format="default" sectionFormat="of" derivedContent="RFC8445"/>,
the keepalives will be sent regardless of whether the data stream is currently 
inactive, sendonly, recvonly, or sendrecv, and regardless
of the presence or value of the bandwidth attribute. An agent can determine that its
peer supports ICE by the presence of "candidate" attributes for each media session.
</t>
    </section>
    <section numbered="true" toc="include" removeInRFC="false" pn="section-7">
      <name slugifiedName="name-sip-considerations">SIP Considerations</name>
      <t indent="0" pn="section-7-1">
Note that ICE is not intended for NAT traversal for SIP signaling, which is assumed to be
provided via another mechanism <xref target="RFC5626" format="default" sectionFormat="of" derivedContent="RFC5626"/>.
</t>
      <t indent="0" pn="section-7-2">
When ICE is used with SIP, forking may result in a single offer generating a
multiplicity of answers. In that case, ICE proceeds completely in parallel and
independently for each answer, treating the combination of its offer and
each answer as an independent offer/answer exchange, with its own set of local
candidates, pairs, checklists, states, and so on.
</t>
      <section anchor="sec-latency" numbered="true" toc="include" removeInRFC="false" pn="section-7.1">
        <name slugifiedName="name-latency-guidelines">Latency Guidelines</name>
        <t indent="0" pn="section-7.1-1">
ICE requires a series of STUN-based connectivity checks to take place between
endpoints. These checks start from the answerer on generation of its answer,
and start from the offerer when it receives the answer.
These checks can take time to complete, and as such, the selection of
messages to use with offers and answers can affect perceived user latency.
Two latency figures are of particular interest. These are the post-pickup delay
and the post-dial delay. The post-pickup delay refers to the time between when
a user "answers the phone" and when any speech they utter can be delivered to
the caller. The post-dial delay refers to the time between when a user enters
the destination address for the user and ringback begins as a consequence of
having successfully started alerting the called user agent.
</t>
        <t indent="0" pn="section-7.1-2">
Two cases can be considered -- one where the offer is present in the initial
INVITE and one where it is in a response.
</t>
        <section numbered="true" toc="include" removeInRFC="false" pn="section-7.1.1">
          <name slugifiedName="name-offer-in-invite">Offer in INVITE</name>
          <t indent="0" pn="section-7.1.1-1">
To reduce post-dial delays, it is <bcp14>RECOMMENDED</bcp14> that the caller begin gathering
candidates prior to actually sending its initial INVITE, so that the candidates
can be provided in the INVITE. This can be started upon
user interface cues that a call is pending, such as activity on a keypad or
the phone going off-hook.
</t>
          <t indent="0" pn="section-7.1.1-2">
On the receipt of the offer, the answerer <bcp14>SHOULD</bcp14> generate an answer in a
provisional response as soon as it has completed gathering
the candidates. ICE requires that a provisional response with an SDP be
transmitted reliably. This can be done through the existing
Provisional Response Acknowledgment (PRACK)
mechanism <xref target="RFC3262" format="default" sectionFormat="of" derivedContent="RFC3262"/> or through an ICE-specific optimization, wherein,
the agent retransmits the provisional response with the exponential backoff
timers described in <xref target="RFC3262" format="default" sectionFormat="of" derivedContent="RFC3262"/>. Such retransmissions <bcp14>MUST</bcp14> cease on receipt
of a STUN Binding request with the transport address matching the candidate address
for one of the data streams signaled in that SDP or on transmission of the answer
in a 2xx response. If no Binding request is received prior to the last retransmit,
the agent does not consider the session terminated. For the ICE-lite peers, the 
agent <bcp14>MUST</bcp14> cease retransmitting the 18x response after
sending it four times since there will be no Binding request sent, and
the number four is arbitrarily chosen to limit the number of 18x retransmits.
</t>
          <t indent="0" pn="section-7.1.1-3">
Once the answer has been sent, the agent <bcp14>SHOULD</bcp14> begin its connectivity checks.
Once candidate pairs for each component of a data stream enter the valid list,
the answerer can begin sending media on that data stream.
</t>
          <t indent="0" pn="section-7.1.1-4">
However, prior to this point, any media that needs to be sent towards the
caller (such as SIP early media <xref target="RFC3960" format="default" sectionFormat="of" derivedContent="RFC3960"/>) <bcp14>MUST NOT</bcp14> be transmitted. For this
reason, implementations <bcp14>SHOULD</bcp14> delay alerting the called party until candidates
for each component of each data stream have entered the valid list.
In the case of a PSTN gateway, this would mean that the setup message into the
PSTN is delayed until this point. Doing this increases the post-dial delay, but
has the effect of eliminating 'ghost rings'.
Ghost rings are cases where the called party hears the phone ring, picks up, but
hears nothing and cannot be heard. This technique works without requiring support
for, or usage of, preconditions <xref target="RFC3312" format="default" sectionFormat="of" derivedContent="RFC3312"/>. It also has the benefit of guaranteeing
that not a single packet of media will get clipped, so that post-pickup delay is zero.
If an agent chooses to delay local alerting in this way, it <bcp14>SHOULD</bcp14> generate a 180
response once alerting begins.
</t>
        </section>
        <section numbered="true" toc="include" removeInRFC="false" pn="section-7.1.2">
          <name slugifiedName="name-offer-in-response">Offer in Response</name>
          <t indent="0" pn="section-7.1.2-1">
In addition to uses where the offer is in an INVITE, and the answer is in the
provisional and/or 200 OK response, ICE works with cases where the offer appears
in the response.
In such cases, which are common in third party call control <xref target="RFC3725" format="default" sectionFormat="of" derivedContent="RFC3725"/>, ICE
agents <bcp14>SHOULD</bcp14> generate their offers in a reliable provisional response
(which <bcp14>MUST</bcp14> utilize <xref target="RFC3262" format="default" sectionFormat="of" derivedContent="RFC3262"/>), and not alert the user on receipt of the INVITE.
The answer will arrive in a PRACK.
This allows for ICE processing to take place prior to alerting, so that there is no
post-pickup delay, at the expense of increased call setup delays.
Once ICE completes, the callee can alert the user and then generate a 200 OK
when they answer.
The 200 OK would contain no SDP, since the offer/answer exchange has completed.
</t>
          <t indent="0" pn="section-7.1.2-2">
Alternatively, agents <bcp14>MAY</bcp14> place the offer in a 2xx instead (in which case the
answer comes in the ACK).
When this happens, the callee will alert the user on receipt of the INVITE,
and the ICE exchanges will take place only after the user answers.
This has the effect of reducing call-setup delay, but can cause substantial
post-pickup delays and media clipping.
</t>
        </section>
      </section>
      <section numbered="true" toc="include" removeInRFC="false" pn="section-7.2">
        <name slugifiedName="name-sip-option-tags-and-media-f">SIP Option Tags and Media Feature Tags</name>
        <t indent="0" pn="section-7.2-1"><xref target="RFC5768" format="default" sectionFormat="of" derivedContent="RFC5768"/> specifies a SIP option tag and media feature tag for usage with ICE.
ICE implementations using SIP <bcp14>SHOULD</bcp14> support this specification, which uses a
feature tag in registrations to facilitate interoperability through signaling
intermediaries.
</t>
      </section>
      <section numbered="true" toc="include" removeInRFC="false" pn="section-7.3">
        <name slugifiedName="name-interactions-with-forking">Interactions with Forking</name>
        <t indent="0" pn="section-7.3-1">
ICE interacts very well with forking.
Indeed, ICE fixes some of the problems associated with forking.
Without ICE, when a call forks and the caller receives multiple incoming
data streams, it cannot determine which data stream corresponds to
which callee.
</t>
        <t indent="0" pn="section-7.3-2">
With ICE, this problem is resolved.
The connectivity checks which occur prior to transmission of media carry
username fragments which in turn are correlated to a specific callee.
Subsequent media packets that arrive on the same candidate pair as the
connectivity check will be associated with that same callee.
Thus, the caller can perform this correlation as long as it has received an answer.
</t>
      </section>
      <section numbered="true" toc="include" removeInRFC="false" pn="section-7.4">
        <name slugifiedName="name-interactions-with-precondit">Interactions with Preconditions</name>
        <t indent="0" pn="section-7.4-1">
Quality of Service (QoS) preconditions, which are defined in <xref target="RFC3312" format="default" sectionFormat="of" derivedContent="RFC3312"/>
and <xref target="RFC4032" format="default" sectionFormat="of" derivedContent="RFC4032"/>, apply only to the transport addresses listed as the default
targets for media in an offer/answer.
If ICE changes the transport address where media is received, this change
is reflected in an updated offer that changes the default destination for
media to match ICE's selection. As such, it appears like any other re-INVITE would,
and is fully treated in RFCs 3312 and 4032, which apply without regard to the fact
that the destination for media is changing due to ICE negotiations occurring
"in the background".
</t>
        <t indent="0" pn="section-7.4-2">
Indeed, an agent <bcp14>SHOULD NOT</bcp14> indicate that QoS preconditions have been met
until the checks have completed and selected the candidate pairs to be used for media.
</t>
        <t indent="0" pn="section-7.4-3">
ICE also has interactions with connectivity preconditions <xref target="RFC5898" format="default" sectionFormat="of" derivedContent="RFC5898"/>.
Those interactions are described there.
	Note that the procedures described in <xref target="sec-latency" format="default" sectionFormat="of" derivedContent="Section 7.1"/> describe their own type of "preconditions", albeit with less functionality than those provided by the explicit preconditions in <xref target="RFC5898" format="default" sectionFormat="of" derivedContent="RFC5898"/>.
</t>
      </section>
      <section numbered="true" toc="include" removeInRFC="false" pn="section-7.5">
        <name slugifiedName="name-interactions-with-third-par">Interactions with Third Party Call Control</name>
        <t indent="0" pn="section-7.5-1">
ICE works with Flows I, III, and IV as described in <xref target="RFC3725" format="default" sectionFormat="of" derivedContent="RFC3725"/>.
Flow I works without the controller supporting or being aware of ICE.
Flow IV will work as long as the controller passes along the ICE attributes without alteration.
Flow II is fundamentally incompatible with ICE; each agent will believe itself to be the answerer and thus never generate a re-INVITE.
</t>
        <t indent="0" pn="section-7.5-2">
The flows for continued operation, as described in <xref target="RFC3725" sectionFormat="of" section="7" format="default" derivedLink="https://rfc-editor.org/rfc/rfc3725#section-7" derivedContent="RFC3725"/>, 
require additional behavior of ICE implementations to support.
In particular, if an agent receives a mid-dialog re-INVITE that contains no offer, it <bcp14>MUST</bcp14> restart ICE for each data stream and go through the process of gathering new candidates.
Furthermore, that list of candidates <bcp14>SHOULD</bcp14> include the ones currently being used for media.
</t>
      </section>
    </section>
    <section anchor="sec-alg-sip" numbered="true" toc="include" removeInRFC="false" pn="section-8">
      <name slugifiedName="name-interactions-with-applicati">Interactions with Application Layer Gateways and SIP</name>
      <t indent="0" pn="section-8-1">
        Application Layer Gateways (ALGs) are functions present in a Network Address Translation (NAT)
        device that inspect the contents of packets and modify them, in order to facilitate NAT traversal
        for application protocols. Session Border Controllers (SBCs) are close cousins of ALGs, but are
        less transparent since they actually exist as application-layer SIP intermediaries. ICE has
        interactions with SBCs and ALGs.
      </t>
      <t indent="0" pn="section-8-2">
        If an ALG is SIP aware but not ICE aware, ICE will work through it as long as the ALG correctly
        modifies the SDP. A correct ALG implementation behaves as follows:
      </t>
      <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-8-3">
        <li pn="section-8-3.1">
            The ALG does not modify the "m=" and "c=" lines or the "rtcp" attribute if they contain
            external addresses.
          </li>
        <li pn="section-8-3.2">
          <t indent="0" pn="section-8-3.2.1">
            If the "m=" and "c=" lines contain internal addresses, the modification depends on the state of the ALG:
          </t>
          <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-8-3.2.2">
            <li pn="section-8-3.2.2.1">
                If the ALG already has a binding established that maps an external port to an internal connection
                address and port matching the values in the "m=" and "c=" lines or "rtcp" attribute, the ALG uses that
                binding instead of creating a new one.
              </li>
            <li pn="section-8-3.2.2.2">
                If the ALG does not already have a binding, it creates a new one and modifies the SDP, rewriting
                the "m=" and "c=" lines and "rtcp" attribute.
              </li>
          </ul>
        </li>
      </ul>
      <t indent="0" pn="section-8-4">
        Unfortunately, many ALGs are known to work poorly in these corner cases.
        ICE does not try to work around broken ALGs, as this is outside the scope of its functionality.
        ICE can help diagnose these conditions, which often show up as a mismatch between the set of candidates and
        the "m=" and "c=" lines and "rtcp" attributes. The "ice-mismatch" attribute is used for this purpose.
      </t>
      <t indent="0" pn="section-8-5">
        ICE works best through ALGs when the signaling is run over TLS.
        This prevents the ALG from manipulating the SDP messages and interfering with ICE operation.
        Implementations that are expected to be deployed behind ALGs <bcp14>SHOULD</bcp14> provide for TLS transport of the SDP.
      </t>
      <t indent="0" pn="section-8-6">
        If an SBC is SIP aware but not ICE aware, the result depends on the behavior of the SBC.
        If it is acting as a proper Back-to-Back User Agent (B2BUA), the SBC will remove any SDP attributes
        it doesn't understand, including the ICE attributes. Consequently, the call will appear to both
        endpoints as if the other side doesn't support ICE. This will result in ICE being disabled, and
        media flowing through the SBC, if the SBC has requested it. If, however, the SBC passes the ICE attributes
        without modification, yet modifies the default destination for media (contained in the "m=" and "c=" lines
        and "rtcp" attribute), this will be detected as an ICE mismatch, and ICE processing is aborted for the call.
        It is outside of the scope of ICE for it to act as a tool for "working around" SBCs.
        If one is present, ICE will not be used and the SBC techniques take precedence.
      </t>
    </section>
    <section numbered="true" toc="include" removeInRFC="false" pn="section-9">
      <name slugifiedName="name-security-considerations">Security Considerations</name>
      <t indent="0" pn="section-9-1">
        The generic ICE security considerations are defined in <xref target="RFC8445" format="default" sectionFormat="of" derivedContent="RFC8445"/>, and the 
        generic SDP offer/answer security considerations are defined in <xref target="RFC3264" format="default" sectionFormat="of" derivedContent="RFC3264"/>. These 
        security considerations also apply to implementations of this document.
      </t>
      <section numbered="true" toc="include" removeInRFC="false" pn="section-9.1">
        <name slugifiedName="name-ip-address-privacy">IP Address Privacy</name>
        <t indent="0" pn="section-9.1-1">
          In some cases, e.g., for privacy reasons, an agent may not want to reveal the related
          address and port. In this case the address <bcp14>MUST</bcp14> be set to "0.0.0.0" (for IPv4 candidates)
          or "::" (for IPv6 candidates) and the port to '9'.
        </t>
      </section>
      <section numbered="true" toc="include" removeInRFC="false" pn="section-9.2">
        <name slugifiedName="name-attacks-on-the-offer-answer">Attacks on the Offer/Answer Exchanges</name>
        <t indent="0" pn="section-9.2-1">
          An attacker that can modify or disrupt the offer/answer exchanges themselves can readily
          launch a variety of attacks with ICE. They could direct media to a target of a DoS attack,
          they could insert themselves into the data stream, and so on. These are similar to the general
          security considerations for offer/answer exchanges, and the security considerations in
          <xref target="RFC3264" format="default" sectionFormat="of" derivedContent="RFC3264"/> apply. These require techniques for message integrity and encryption
          for offers and answers, which are satisfied by the TLS mechanism <xref target="RFC3261" format="default" sectionFormat="of" derivedContent="RFC3261"/> when
          SIP is used. As such, the usage of TLS with ICE is <bcp14>RECOMMENDED</bcp14>.
        </t>
      </section>
      <section anchor="sec-voice-hammer" numbered="true" toc="include" removeInRFC="false" pn="section-9.3">
        <name slugifiedName="name-the-voice-hammer-attack">The Voice Hammer Attack</name>
        <t indent="0" pn="section-9.3-1">
          The voice hammer attack is an amplification attack, and can be triggered even if the attacker
          is an authenticated and valid participant in a session.
          In this attack, the attacker initiates sessions to other agents, and maliciously includes
          the connection address and port of a DoS target as the destination for media traffic
          signaled in the SDP. This causes substantial amplification; a single offer/answer exchange
          can create a continuing flood of media packets, possibly at high rates (consider video sources).
          The use of ICE can help to prevent against this attack.
        </t>
        <t indent="0" pn="section-9.3-2">
          Specifically, if ICE is used, the agent receiving the malicious SDP will first perform connectivity
          checks to the target of media before sending media there. If this target is a third-party host, the
          checks will not succeed, and media is never sent.  The ICE extension defined in <xref target="RFC7675" format="default" sectionFormat="of" derivedContent="RFC7675"/>
          can be used to further protect against voice hammer attacks.
        </t>
        <t indent="0" pn="section-9.3-3">
          Unfortunately, ICE doesn't help if it's not used, in which case an attacker could simply
          send the offer without the ICE parameters. However, in environments where the set of clients is known,
          and is limited to ones that support ICE, the server can reject any offers or answers that don't
          indicate ICE support.
        </t>
        <t indent="0" pn="section-9.3-4">
          SIP user agents (UA) <xref target="RFC3261" format="default" sectionFormat="of" derivedContent="RFC3261"/> that are not willing to receive non-ICE answers <bcp14>MUST</bcp14> include
          an "ice" option tag <xref target="RFC5768" format="default" sectionFormat="of" derivedContent="RFC5768"/> in the SIP Require header field in their offer. UAs that
          reject non-ICE offers will generally use a 421 response code, together with an option tag "ice" in the
          Require header field in the response.
        </t>
      </section>
    </section>
    <section anchor="iana" numbered="true" toc="include" removeInRFC="false" pn="section-10">
      <name slugifiedName="name-iana-considerations">IANA Considerations</name>
      <section numbered="true" toc="include" removeInRFC="false" pn="section-10.1">
        <name slugifiedName="name-sdp-attributes">SDP Attributes</name>
        <t indent="0" pn="section-10.1-1">
The original ICE specification defined seven new SDP attributes per the procedures of
<xref target="RFC4566" sectionFormat="of" section="8.2.4" format="default" derivedLink="https://rfc-editor.org/rfc/rfc4566#section-8.2.4" derivedContent="RFC4566"/>. 
The registration information from the original specification
is included here with modifications to include Mux Category <xref target="RFC8859" format="default" sectionFormat="of" derivedContent="RFC8859"/> 
and also defines a new SDP attribute "ice-pacing".
</t>
        <section numbered="true" toc="include" removeInRFC="false" pn="section-10.1.1">
          <name slugifiedName="name-candidate-attribute-2">"candidate" Attribute</name>
          <dl newline="false" spacing="normal" indent="3" pn="section-10.1.1-1">
            <dt pn="section-10.1.1-1.1">Attribute Name:</dt>
            <dd pn="section-10.1.1-1.2">
candidate
</dd>
            <dt pn="section-10.1.1-1.3">Type of Attribute:</dt>
            <dd pn="section-10.1.1-1.4">
media-level
</dd>
            <dt pn="section-10.1.1-1.5">Subject to charset:</dt>
            <dd pn="section-10.1.1-1.6">
No
</dd>
            <dt pn="section-10.1.1-1.7">Purpose:</dt>
            <dd pn="section-10.1.1-1.8">
This attribute is used with Interactive Connectivity Establishment (ICE),
and provides one of many possible candidate addresses for communication.
These addresses are validated with an end-to-end connectivity check using Session
Traversal Utilities for NAT (STUN).
</dd>
            <dt pn="section-10.1.1-1.9">Appropriate Values:</dt>
            <dd pn="section-10.1.1-1.10">
See <xref target="sec-grammar" format="default" sectionFormat="of" derivedContent="Section 5"/> of RFC 8839.
</dd>
            <dt pn="section-10.1.1-1.11">Contact Name:</dt>
            <dd pn="section-10.1.1-1.12">
IESG
</dd>
            <dt pn="section-10.1.1-1.13">Contact Email:</dt>
            <dd pn="section-10.1.1-1.14">
                iesg@ietf.org
              </dd>
            <dt pn="section-10.1.1-1.15">Reference:</dt>
            <dd pn="section-10.1.1-1.16">
RFC 8839
</dd>
            <dt pn="section-10.1.1-1.17">Mux Category:</dt>
            <dd pn="section-10.1.1-1.18">
TRANSPORT
</dd>
          </dl>
        </section>
        <section numbered="true" toc="include" removeInRFC="false" pn="section-10.1.2">
          <name slugifiedName="name-remote-candidates-attribute-2">"remote-candidates" Attribute</name>
          <dl newline="false" spacing="normal" indent="3" pn="section-10.1.2-1">
            <dt pn="section-10.1.2-1.1">Attribute Name:</dt>
            <dd pn="section-10.1.2-1.2">
remote-candidates
</dd>
            <dt pn="section-10.1.2-1.3">Type of Attribute:</dt>
            <dd pn="section-10.1.2-1.4">
media-level
</dd>
            <dt pn="section-10.1.2-1.5">Subject to charset:</dt>
            <dd pn="section-10.1.2-1.6">
No
</dd>
            <dt pn="section-10.1.2-1.7">Purpose:</dt>
            <dd pn="section-10.1.2-1.8">
This attribute is used with Interactive Connectivity Establishment (ICE),
and provides the identity of the remote candidates that the offerer wishes the answerer
to use in its answer.
</dd>
            <dt pn="section-10.1.2-1.9">Appropriate Values:</dt>
            <dd pn="section-10.1.2-1.10">
See <xref target="sec-grammar" format="default" sectionFormat="of" derivedContent="Section 5"/> of RFC 8839.
</dd>
            <dt pn="section-10.1.2-1.11">Contact Name:</dt>
            <dd pn="section-10.1.2-1.12">
IESG
</dd>
            <dt pn="section-10.1.2-1.13">Contact Email:</dt>
            <dd pn="section-10.1.2-1.14">
                iesg@ietf.org
              </dd>
            <dt pn="section-10.1.2-1.15">Reference:</dt>
            <dd pn="section-10.1.2-1.16">
RFC 8839
</dd>
            <dt pn="section-10.1.2-1.17">Mux Category:</dt>
            <dd pn="section-10.1.2-1.18">
TRANSPORT
</dd>
          </dl>
        </section>
        <section numbered="true" toc="include" removeInRFC="false" pn="section-10.1.3">
          <name slugifiedName="name-ice-lite-attribute">"ice-lite" Attribute</name>
          <dl newline="false" spacing="normal" indent="3" pn="section-10.1.3-1">
            <dt pn="section-10.1.3-1.1">Attribute Name:</dt>
            <dd pn="section-10.1.3-1.2">
ice-lite
</dd>
            <dt pn="section-10.1.3-1.3">Type of Attribute:</dt>
            <dd pn="section-10.1.3-1.4">
session-level
</dd>
            <dt pn="section-10.1.3-1.5">Subject to charset:</dt>
            <dd pn="section-10.1.3-1.6">
No
</dd>
            <dt pn="section-10.1.3-1.7">Purpose:</dt>
            <dd pn="section-10.1.3-1.8">
This attribute is used with Interactive Connectivity Establishment (ICE),
and indicates that an agent has the minimum functionality required to support ICE
inter-operation with a peer that has a full implementation.
</dd>
            <dt pn="section-10.1.3-1.9">Appropriate Values:</dt>
            <dd pn="section-10.1.3-1.10">
See <xref target="sec-grammar" format="default" sectionFormat="of" derivedContent="Section 5"/> of RFC 8839.
</dd>
            <dt pn="section-10.1.3-1.11">Contact Name:</dt>
            <dd pn="section-10.1.3-1.12">
IESG
</dd>
            <dt pn="section-10.1.3-1.13">Contact Email:</dt>
            <dd pn="section-10.1.3-1.14">
                iesg@ietf.org
              </dd>
            <dt pn="section-10.1.3-1.15">Reference:</dt>
            <dd pn="section-10.1.3-1.16">
RFC 8839
</dd>
            <dt pn="section-10.1.3-1.17">Mux Category:</dt>
            <dd pn="section-10.1.3-1.18">
NORMAL
</dd>
          </dl>
        </section>
        <section numbered="true" toc="include" removeInRFC="false" pn="section-10.1.4">
          <name slugifiedName="name-ice-mismatch-attribute">"ice-mismatch" Attribute</name>
          <dl newline="false" spacing="normal" indent="3" pn="section-10.1.4-1">
            <dt pn="section-10.1.4-1.1">Attribute Name:</dt>
            <dd pn="section-10.1.4-1.2">
ice-mismatch
</dd>
            <dt pn="section-10.1.4-1.3">Type of Attribute:</dt>
            <dd pn="section-10.1.4-1.4">
media-level
</dd>
            <dt pn="section-10.1.4-1.5">Subject to charset:</dt>
            <dd pn="section-10.1.4-1.6">
No
</dd>
            <dt pn="section-10.1.4-1.7">Purpose:</dt>
            <dd pn="section-10.1.4-1.8">
This attribute is used with Interactive Connectivity Establishment (ICE), and indicates that an agent is ICE capable, but did not proceed with ICE due to a mismatch of candidates with the default destination for media signaled in the SDP.
</dd>
            <dt pn="section-10.1.4-1.9">Appropriate Values:</dt>
            <dd pn="section-10.1.4-1.10">
See <xref target="sec-grammar" format="default" sectionFormat="of" derivedContent="Section 5"/> of RFC 8839.
</dd>
            <dt pn="section-10.1.4-1.11">Contact Name:</dt>
            <dd pn="section-10.1.4-1.12">
IESG
</dd>
            <dt pn="section-10.1.4-1.13">Contact e-mail:</dt>
            <dd pn="section-10.1.4-1.14">
                iesg@ietf.org
              </dd>
            <dt pn="section-10.1.4-1.15">Reference:</dt>
            <dd pn="section-10.1.4-1.16">
RFC 8839
</dd>
            <dt pn="section-10.1.4-1.17">Mux Category:</dt>
            <dd pn="section-10.1.4-1.18">
NORMAL
</dd>
          </dl>
        </section>
        <section numbered="true" toc="include" removeInRFC="false" pn="section-10.1.5">
          <name slugifiedName="name-ice-pwd-attribute">"ice-pwd" Attribute</name>
          <dl newline="false" spacing="normal" indent="3" pn="section-10.1.5-1">
            <dt pn="section-10.1.5-1.1">Attribute Name:</dt>
            <dd pn="section-10.1.5-1.2">
ice-pwd
</dd>
            <dt pn="section-10.1.5-1.3">Type of Attribute:</dt>
            <dd pn="section-10.1.5-1.4">
session- or media-level
</dd>
            <dt pn="section-10.1.5-1.5">Subject to charset:</dt>
            <dd pn="section-10.1.5-1.6">
No
</dd>
            <dt pn="section-10.1.5-1.7">Purpose:</dt>
            <dd pn="section-10.1.5-1.8">
This attribute is used with Interactive Connectivity Establishment (ICE),
and provides the password used to protect STUN connectivity checks.
</dd>
            <dt pn="section-10.1.5-1.9">Appropriate Values:</dt>
            <dd pn="section-10.1.5-1.10">
See <xref target="sec-grammar" format="default" sectionFormat="of" derivedContent="Section 5"/> of RFC 8839.
</dd>
            <dt pn="section-10.1.5-1.11">Contact Name:</dt>
            <dd pn="section-10.1.5-1.12">
IESG
</dd>
            <dt pn="section-10.1.5-1.13">Contact e-mail:</dt>
            <dd pn="section-10.1.5-1.14">
                iesg@ietf.org
              </dd>
            <dt pn="section-10.1.5-1.15">Reference:</dt>
            <dd pn="section-10.1.5-1.16">
RFC 8839
</dd>
            <dt pn="section-10.1.5-1.17">Mux Category:</dt>
            <dd pn="section-10.1.5-1.18">
TRANSPORT
</dd>
          </dl>
        </section>
        <section numbered="true" toc="include" removeInRFC="false" pn="section-10.1.6">
          <name slugifiedName="name-ice-ufrag-attribute">"ice-ufrag" Attribute</name>
          <dl newline="false" spacing="normal" indent="3" pn="section-10.1.6-1">
            <dt pn="section-10.1.6-1.1">Attribute Name:</dt>
            <dd pn="section-10.1.6-1.2">
ice-ufrag
</dd>
            <dt pn="section-10.1.6-1.3">Type of Attribute:</dt>
            <dd pn="section-10.1.6-1.4">
session- or media-level
</dd>
            <dt pn="section-10.1.6-1.5">Subject to charset:</dt>
            <dd pn="section-10.1.6-1.6">
No
</dd>
            <dt pn="section-10.1.6-1.7">Purpose:</dt>
            <dd pn="section-10.1.6-1.8">
This attribute is used with Interactive Connectivity Establishment (ICE),
and provides the fragments used to construct the username in STUN connectivity checks.
</dd>
            <dt pn="section-10.1.6-1.9">Appropriate Values:</dt>
            <dd pn="section-10.1.6-1.10">
See <xref target="sec-grammar" format="default" sectionFormat="of" derivedContent="Section 5"/> of RFC 8839.
</dd>
            <dt pn="section-10.1.6-1.11">Contact Name:</dt>
            <dd pn="section-10.1.6-1.12">
IESG
</dd>
            <dt pn="section-10.1.6-1.13">Contact e-mail:</dt>
            <dd pn="section-10.1.6-1.14">
                iesg@ietf.org
              </dd>
            <dt pn="section-10.1.6-1.15">Reference:</dt>
            <dd pn="section-10.1.6-1.16">
RFC 8839
</dd>
            <dt pn="section-10.1.6-1.17">Mux Category:</dt>
            <dd pn="section-10.1.6-1.18">
TRANSPORT
</dd>
          </dl>
        </section>
        <section numbered="true" toc="include" removeInRFC="false" pn="section-10.1.7">
          <name slugifiedName="name-ice-options-attribute-2">"ice-options" Attribute</name>
          <dl newline="false" spacing="normal" indent="3" pn="section-10.1.7-1">
            <dt pn="section-10.1.7-1.1">Attribute Name:</dt>
            <dd pn="section-10.1.7-1.2">
ice-options
</dd>
            <dt pn="section-10.1.7-1.3">Long Form:</dt>
            <dd pn="section-10.1.7-1.4">
ice-options
</dd>
            <dt pn="section-10.1.7-1.5">Type of Attribute:</dt>
            <dd pn="section-10.1.7-1.6">
session-level
</dd>
            <dt pn="section-10.1.7-1.7">Subject to charset:</dt>
            <dd pn="section-10.1.7-1.8">
No
</dd>
            <dt pn="section-10.1.7-1.9">Purpose:</dt>
            <dd pn="section-10.1.7-1.10">
This attribute is used with Interactive Connectivity Establishment (ICE),
and indicates the ICE options or extensions used by the agent.
</dd>
            <dt pn="section-10.1.7-1.11">Appropriate Values:</dt>
            <dd pn="section-10.1.7-1.12">
See <xref target="sec-grammar" format="default" sectionFormat="of" derivedContent="Section 5"/> of RFC 8839.
</dd>
            <dt pn="section-10.1.7-1.13">Contact Name:</dt>
            <dd pn="section-10.1.7-1.14">
IESG
</dd>
            <dt pn="section-10.1.7-1.15">Contact e-mail:</dt>
            <dd pn="section-10.1.7-1.16">
                iesg@ietf.org
              </dd>
            <dt pn="section-10.1.7-1.17">Reference:</dt>
            <dd pn="section-10.1.7-1.18">
RFC 8839
</dd>
            <dt pn="section-10.1.7-1.19">Mux Category:</dt>
            <dd pn="section-10.1.7-1.20">
NORMAL
</dd>
          </dl>
        </section>
        <section numbered="true" toc="include" removeInRFC="false" pn="section-10.1.8">
          <name slugifiedName="name-ice-pacing-attribute-2">"ice-pacing" Attribute</name>
          <t indent="0" pn="section-10.1.8-1">
This specification also defines a new SDP attribute, "ice-pacing", according
to the following data:
</t>
          <dl newline="false" spacing="normal" indent="3" pn="section-10.1.8-2">
            <dt pn="section-10.1.8-2.1">Attribute Name:</dt>
            <dd pn="section-10.1.8-2.2">
ice-pacing
</dd>
            <dt pn="section-10.1.8-2.3">Type of Attribute:</dt>
            <dd pn="section-10.1.8-2.4">
session-level
</dd>
            <dt pn="section-10.1.8-2.5">Subject to charset:</dt>
            <dd pn="section-10.1.8-2.6">
No
</dd>
            <dt pn="section-10.1.8-2.7">Purpose:</dt>
            <dd pn="section-10.1.8-2.8">
This attribute is used with Interactive Connectivity Establishment (ICE)
to indicate desired connectivity check pacing values.
</dd>
            <dt pn="section-10.1.8-2.9">Appropriate Values:</dt>
            <dd pn="section-10.1.8-2.10">
See <xref target="sec-grammar" format="default" sectionFormat="of" derivedContent="Section 5"/> of RFC 8839.
</dd>
            <dt pn="section-10.1.8-2.11">Contact Name:</dt>
            <dd pn="section-10.1.8-2.12">
IESG
</dd>
            <dt pn="section-10.1.8-2.13">Contact e-mail:</dt>
            <dd pn="section-10.1.8-2.14">
                iesg@ietf.org
              </dd>
            <dt pn="section-10.1.8-2.15">Reference:</dt>
            <dd pn="section-10.1.8-2.16">
RFC 8839
</dd>
            <dt pn="section-10.1.8-2.17">Mux Category:</dt>
            <dd pn="section-10.1.8-2.18">
NORMAL
</dd>
          </dl>
        </section>
      </section>
      <section anchor="sec-iana-ice-options" numbered="true" toc="include" removeInRFC="false" pn="section-10.2">
        <name slugifiedName="name-interactive-connectivity-es">Interactive Connectivity Establishment (ICE) Options Registry</name>
        <t indent="0" pn="section-10.2-1">
IANA maintains a registry for "ice-options" identifiers under the Specification
Required policy as defined in "Guidelines for Writing an IANA Considerations
Section in RFCs" <xref target="RFC8126" format="default" sectionFormat="of" derivedContent="RFC8126"/>.
</t>
        <t indent="0" pn="section-10.2-2">
ICE options are of unlimited length according to the syntax in
<xref target="sec-ice-options" format="default" sectionFormat="of" derivedContent="Section 5.6"/>; however, they are <bcp14>RECOMMENDED</bcp14> to be no longer
than 20 characters. This is to reduce message sizes and allow for
efficient parsing. ICE options are defined at the session level.
</t>
        <t indent="0" pn="section-10.2-3">
A registration request <bcp14>MUST</bcp14> include the following information:
</t>
        <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-10.2-4">
          <li pn="section-10.2-4.1">
The ICE option identifier to be registered

</li>
          <li pn="section-10.2-4.2">
Name and email address of organization or individuals having change control
</li>
          <li pn="section-10.2-4.3">
Short description of the ICE extension to which the option relates

</li>
          <li pn="section-10.2-4.4">
Reference(s) to the specification defining the ICE option and the related extensions

</li>
        </ul>
      </section>
      <section anchor="sec-iana-cand-ext" numbered="true" toc="include" removeInRFC="false" pn="section-10.3">
        <name slugifiedName="name-candidate-attribute-extensi">Candidate Attribute Extension Subregistry Establishment</name>
        <t indent="0" pn="section-10.3-1">
          This section creates a new subregistry, "Candidate Attribute
	  Extensions", under the SDP Parameters
          registry: <eref target="http://www.iana.org/assignments/sdp-parameters" brackets="none"/>.
        </t>
        <t indent="0" pn="section-10.3-2">
          The purpose of the subregistry is to register SDP "candidate" attribute extensions.
        </t>
        <t indent="0" pn="section-10.3-3">
          When a "candidate" extension is registered in the subregistry, it needs to meet the "Specification Required"
          policies defined in <xref target="RFC8126" format="default" sectionFormat="of" derivedContent="RFC8126"/>.
        </t>
        <t indent="0" pn="section-10.3-4">
          "candidate" attribute extensions <bcp14>MUST</bcp14> follow the 'cand-extension' syntax. The attribute extension
          name <bcp14>MUST</bcp14> follow the 'extension-att-name' syntax, and the attribute extension value <bcp14>MUST</bcp14> follow the
          'extension-att-value' syntax.
        </t>
        <t indent="0" pn="section-10.3-5">
          A registration request <bcp14>MUST</bcp14> include the following information:
        </t>
        <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-10.3-6">
          <li pn="section-10.3-6.1">
              The name of the attribute extension.
            </li>
          <li pn="section-10.3-6.2">
Name and email address of organization or individuals having change control
            </li>
          <li pn="section-10.3-6.3">
              A short description of the attribute extension.
            </li>
          <li pn="section-10.3-6.4">
              A reference to a specification that describes the semantics, usage and possible
              values of the attribute extension.
            </li>
        </ul>
      </section>
    </section>
    <section anchor="sec.5245" numbered="true" toc="include" removeInRFC="false" pn="section-11">
      <name slugifiedName="name-changes-from-rfc-5245">Changes from RFC 5245</name>
      <t indent="0" pn="section-11-1">
      <xref target="RFC8445" format="default" sectionFormat="of" derivedContent="RFC8445"/> describes the changes made to the
      common SIP procedures, including removal of aggressive nomination,
      modifying the procedures for calculating candidate pair states, 
      scheduling connectivity checks, and the calculation of timer values.
      </t>
      <t indent="0" pn="section-11-2">
      This document defines the following SDP offer/answer specific changes:
      </t>
      <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-11-3">
        <li pn="section-11-3.1">SDP offer/answer realization and usage of 'ice2' option.</li>
        <li pn="section-11-3.2">Definition and usage of SDP "ice-pacing" attribute.</li>
        <li pn="section-11-3.3">Explicit text that an ICE agent must not generate candidates with FQDNs, and 
        must discard such candidates if received from the peer agent.</li>
        <li pn="section-11-3.4">Relax requirement to include SDP "rtcp" attribute.</li>
        <li pn="section-11-3.5">Generic clarifications of SDP offer/answer procedures.</li>
        <li pn="section-11-3.6">ICE mismatch is now optional, and an agent has an option to not
            trigger mismatch and instead treat the default candidate as an
            additional candidate.</li>
        <li pn="section-11-3.7">FQDNs and "0.0.0.0"/"::" IP addresses with port "9" default
            candidates do not trigger ICE mismatch.</li>
      </ul>
    </section>
  </middle>
  <back>
    <references pn="section-12">
      <name slugifiedName="name-references">References</name>
      <references pn="section-12.1">
        <name slugifiedName="name-normative-references">Normative References</name>
        <reference anchor="RFC2119" target="https://www.rfc-editor.org/info/rfc2119" quoteTitle="true" derivedAnchor="RFC2119">
          <front>
            <title>Key words for use in RFCs to Indicate Requirement Levels</title>
            <author initials="S." surname="Bradner" fullname="S. Bradner">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="1997" month="March"/>
            <abstract>
              <t indent="0">In many standards track documents several words are used to signify the requirements in the specification.  These words are often capitalized. This document defines these words as they should be interpreted in IETF documents.  This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="14"/>
          <seriesInfo name="RFC" value="2119"/>
          <seriesInfo name="DOI" value="10.17487/RFC2119"/>
        </reference>
        <reference anchor="RFC3261" target="https://www.rfc-editor.org/info/rfc3261" quoteTitle="true" derivedAnchor="RFC3261">
          <front>
            <title>SIP: Session Initiation Protocol</title>
            <author initials="J." surname="Rosenberg" fullname="J. Rosenberg">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="H." surname="Schulzrinne" fullname="H. Schulzrinne">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="G." surname="Camarillo" fullname="G. Camarillo">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="A." surname="Johnston" fullname="A. Johnston">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="J." surname="Peterson" fullname="J. Peterson">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="R." surname="Sparks" fullname="R. Sparks">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="M." surname="Handley" fullname="M. Handley">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="E." surname="Schooler" fullname="E. Schooler">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2002" month="June"/>
            <abstract>
              <t indent="0">This document describes Session Initiation Protocol (SIP), an application-layer control (signaling) protocol for creating, modifying, and terminating sessions with one or more participants.  These sessions include Internet telephone calls, multimedia distribution, and multimedia conferences.  [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="3261"/>
          <seriesInfo name="DOI" value="10.17487/RFC3261"/>
        </reference>
        <reference anchor="RFC3262" target="https://www.rfc-editor.org/info/rfc3262" quoteTitle="true" derivedAnchor="RFC3262">
          <front>
            <title>Reliability of Provisional Responses in Session Initiation Protocol (SIP)</title>
            <author initials="J." surname="Rosenberg" fullname="J. Rosenberg">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="H." surname="Schulzrinne" fullname="H. Schulzrinne">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2002" month="June"/>
            <abstract>
              <t indent="0">This document specifies an extension to the Session Initiation Protocol (SIP) providing reliable provisional response messages.  This extension uses the option tag 100rel and defines the Provisional Response ACKnowledgement (PRACK) method.  [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="3262"/>
          <seriesInfo name="DOI" value="10.17487/RFC3262"/>
        </reference>
        <reference anchor="RFC3264" target="https://www.rfc-editor.org/info/rfc3264" quoteTitle="true" derivedAnchor="RFC3264">
          <front>
            <title>An Offer/Answer Model with Session Description Protocol (SDP)</title>
            <author initials="J." surname="Rosenberg" fullname="J. Rosenberg">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="H." surname="Schulzrinne" fullname="H. Schulzrinne">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2002" month="June"/>
            <abstract>
              <t indent="0">This document defines a mechanism by which two entities can make use of the Session Description Protocol (SDP) to arrive at a common view of a multimedia session between them.  In the model, one participant offers the other a description of the desired session from their perspective, and the other participant answers with the desired session from their perspective.  This offer/answer model is most useful in unicast sessions where information from both participants is needed for the complete view of the session.  The offer/answer model is used by protocols like the Session Initiation Protocol (SIP).  [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="3264"/>
          <seriesInfo name="DOI" value="10.17487/RFC3264"/>
        </reference>
        <reference anchor="RFC3312" target="https://www.rfc-editor.org/info/rfc3312" quoteTitle="true" derivedAnchor="RFC3312">
          <front>
            <title>Integration of Resource Management and Session Initiation Protocol (SIP)</title>
            <author initials="G." surname="Camarillo" fullname="G. Camarillo" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="W." surname="Marshall" fullname="W. Marshall" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="J." surname="Rosenberg" fullname="J. Rosenberg">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2002" month="October"/>
          </front>
          <seriesInfo name="RFC" value="3312"/>
          <seriesInfo name="DOI" value="10.17487/RFC3312"/>
        </reference>
        <reference anchor="RFC3556" target="https://www.rfc-editor.org/info/rfc3556" quoteTitle="true" derivedAnchor="RFC3556">
          <front>
            <title>Session Description Protocol (SDP) Bandwidth Modifiers for RTP Control Protocol (RTCP) Bandwidth</title>
            <author initials="S." surname="Casner" fullname="S. Casner">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2003" month="July"/>
            <abstract>
              <t indent="0">This document defines an extension to the Session Description Protocol (SDP) to specify two additional modifiers for the bandwidth attribute. These modifiers may be used to specify the bandwidth allowed for RTP Control Protocol (RTCP) packets in a Real-time Transport Protocol (RTP) session.  [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="3556"/>
          <seriesInfo name="DOI" value="10.17487/RFC3556"/>
        </reference>
        <reference anchor="RFC3605" target="https://www.rfc-editor.org/info/rfc3605" quoteTitle="true" derivedAnchor="RFC3605">
          <front>
            <title>Real Time Control Protocol (RTCP) attribute in Session Description Protocol (SDP)</title>
            <author initials="C." surname="Huitema" fullname="C. Huitema">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2003" month="October"/>
            <abstract>
              <t indent="0">The Session Description Protocol (SDP) is used to describe the parameters of media streams used in multimedia sessions.  When a session requires multiple ports, SDP assumes that these ports have consecutive numbers.  However, when the session crosses a network address translation device that also uses port mapping, the ordering of ports can be destroyed by the translation.  To handle this, we propose an extension attribute to SDP.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="3605"/>
          <seriesInfo name="DOI" value="10.17487/RFC3605"/>
        </reference>
        <reference anchor="RFC4032" target="https://www.rfc-editor.org/info/rfc4032" quoteTitle="true" derivedAnchor="RFC4032">
          <front>
            <title>Update to the Session Initiation Protocol (SIP) Preconditions Framework</title>
            <author initials="G." surname="Camarillo" fullname="G. Camarillo">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="P." surname="Kyzivat" fullname="P. Kyzivat">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2005" month="March"/>
            <abstract>
              <t indent="0">This document updates RFC 3312, which defines the framework for preconditions in SIP.  We provide guidelines for authors of new precondition types and describe how to use SIP preconditions in situations that involve session mobility.  [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="4032"/>
          <seriesInfo name="DOI" value="10.17487/RFC4032"/>
        </reference>
        <reference anchor="RFC4566" target="https://www.rfc-editor.org/info/rfc4566" quoteTitle="true" derivedAnchor="RFC4566">
          <front>
            <title>SDP: Session Description Protocol</title>
            <author initials="M." surname="Handley" fullname="M. Handley">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="V." surname="Jacobson" fullname="V. Jacobson">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="C." surname="Perkins" fullname="C. Perkins">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2006" month="July"/>
            <abstract>
              <t indent="0">This memo defines the Session Description Protocol (SDP).  SDP is intended for describing multimedia sessions for the purposes of session announcement, session invitation, and other forms of multimedia session initiation.  [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="4566"/>
          <seriesInfo name="DOI" value="10.17487/RFC4566"/>
        </reference>
        <reference anchor="RFC5234" target="https://www.rfc-editor.org/info/rfc5234" quoteTitle="true" derivedAnchor="RFC5234">
          <front>
            <title>Augmented BNF for Syntax Specifications: ABNF</title>
            <author initials="D." surname="Crocker" fullname="D. Crocker" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="P." surname="Overell" fullname="P. Overell">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2008" month="January"/>
            <abstract>
              <t indent="0">Internet technical specifications often need to define a formal syntax.  Over the years, a modified version of Backus-Naur Form (BNF), called Augmented BNF (ABNF), has been popular among many Internet specifications.  The current specification documents ABNF. It balances compactness and simplicity with reasonable representational power.  The differences between standard BNF and ABNF involve naming rules, repetition, alternatives, order-independence, and value ranges.  This specification also supplies additional rule definitions and encoding for a core lexical analyzer of the type common to several Internet specifications.  [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="STD" value="68"/>
          <seriesInfo name="RFC" value="5234"/>
          <seriesInfo name="DOI" value="10.17487/RFC5234"/>
        </reference>
        <reference anchor="RFC5389" target="https://www.rfc-editor.org/info/rfc5389" quoteTitle="true" derivedAnchor="RFC5389">
          <front>
            <title>Session Traversal Utilities for NAT (STUN)</title>
            <author initials="J." surname="Rosenberg" fullname="J. Rosenberg">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="R." surname="Mahy" fullname="R. Mahy">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="P." surname="Matthews" fullname="P. Matthews">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="D." surname="Wing" fullname="D. Wing">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2008" month="October"/>
            <abstract>
              <t indent="0">Session Traversal Utilities for NAT (STUN) is a protocol that serves as a tool for other protocols in dealing with Network Address Translator (NAT) traversal.  It can be used by an endpoint to determine the IP address and port allocated to it by a NAT.  It can also be used to check connectivity between two endpoints, and as a keep-alive protocol to maintain NAT bindings.  STUN works with many existing NATs, and does not require any special behavior from them.</t>
              <t indent="0">STUN is not a NAT traversal solution by itself.  Rather, it is a tool to be used in the context of a NAT traversal solution.  This is an important change from the previous version of this specification (RFC 3489), which presented STUN as a complete solution.</t>
              <t indent="0">This document obsoletes RFC 3489.  [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="5389"/>
          <seriesInfo name="DOI" value="10.17487/RFC5389"/>
        </reference>
        <reference anchor="RFC5766" target="https://www.rfc-editor.org/info/rfc5766" quoteTitle="true" derivedAnchor="RFC5766">
          <front>
            <title>Traversal Using Relays around NAT (TURN): Relay Extensions to Session Traversal Utilities for NAT (STUN)</title>
            <author initials="R." surname="Mahy" fullname="R. Mahy">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="P." surname="Matthews" fullname="P. Matthews">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="J." surname="Rosenberg" fullname="J. Rosenberg">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2010" month="April"/>
            <abstract>
              <t indent="0">If a host is located behind a NAT, then in certain situations it can be impossible for that host to communicate directly with other hosts (peers).  In these situations, it is necessary for the host to use the services of an intermediate node that acts as a communication relay.  This specification defines a protocol, called TURN (Traversal Using Relays around NAT), that allows the host to control the operation of the relay and to exchange packets with its peers using the relay.  TURN differs from some other relay control protocols in that it allows a client to communicate with multiple peers using a single relay address.  [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="5766"/>
          <seriesInfo name="DOI" value="10.17487/RFC5766"/>
        </reference>
        <reference anchor="RFC5768" target="https://www.rfc-editor.org/info/rfc5768" quoteTitle="true" derivedAnchor="RFC5768">
          <front>
            <title>Indicating Support for Interactive Connectivity Establishment (ICE) in the Session Initiation Protocol (SIP)</title>
            <author initials="J." surname="Rosenberg" fullname="J. Rosenberg">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2010" month="April"/>
            <abstract>
              <t indent="0">This specification defines a media feature tag and an option tag for use with the Session Initiation Protocol (SIP).  The media feature tag allows a User Agent (UA) to communicate to its registrar that it supports ICE.  The option tag allows a UA to require support for ICE in order for a call to proceed.  [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="5768"/>
          <seriesInfo name="DOI" value="10.17487/RFC5768"/>
        </reference>
        <reference anchor="RFC6336" target="https://www.rfc-editor.org/info/rfc6336" quoteTitle="true" derivedAnchor="RFC6336">
          <front>
            <title>IANA Registry for Interactive Connectivity Establishment (ICE) Options</title>
            <author initials="M." surname="Westerlund" fullname="M. Westerlund">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="C." surname="Perkins" fullname="C. Perkins">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2011" month="July"/>
            <abstract>
              <t indent="0">It has been identified that "Interactive Connectivity Establishment (ICE): A Protocol for Network Address Translator (NAT) Traversal for Offer/Answer Protocols" (RFC 5245) is missing a registry for ICE options.  This document defines this missing IANA registry and updates RFC 5245.  [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="6336"/>
          <seriesInfo name="DOI" value="10.17487/RFC6336"/>
        </reference>
        <reference anchor="RFC8174" target="https://www.rfc-editor.org/info/rfc8174" quoteTitle="true" derivedAnchor="RFC8174">
          <front>
            <title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title>
            <author initials="B." surname="Leiba" fullname="B. Leiba">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2017" month="May"/>
            <abstract>
              <t indent="0">RFC 2119 specifies common key words that may be used in protocol  specifications.  This document aims to reduce the ambiguity by clarifying that only UPPERCASE usage of the key words have the  defined special meanings.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="14"/>
          <seriesInfo name="RFC" value="8174"/>
          <seriesInfo name="DOI" value="10.17487/RFC8174"/>
        </reference>
        <reference anchor="RFC8445" target="https://www.rfc-editor.org/info/rfc8445" quoteTitle="true" derivedAnchor="RFC8445">
          <front>
            <title>Interactive Connectivity Establishment (ICE): A Protocol for Network Address Translator (NAT) Traversal</title>
            <author initials="A." surname="Keranen" fullname="A. Keranen">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="C." surname="Holmberg" fullname="C. Holmberg">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="J." surname="Rosenberg" fullname="J. Rosenberg">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2018" month="July"/>
            <abstract>
              <t indent="0">This document describes a protocol for Network Address Translator (NAT) traversal for UDP-based communication.  This protocol is called Interactive Connectivity Establishment (ICE).  ICE makes use of the Session Traversal Utilities for NAT (STUN) protocol and its extension, Traversal Using Relay NAT (TURN).</t>
              <t indent="0">This document obsoletes RFC 5245.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8445"/>
          <seriesInfo name="DOI" value="10.17487/RFC8445"/>
        </reference>
      </references>
      <references pn="section-12.2">
        <name slugifiedName="name-informative-references">Informative References</name>
        <reference anchor="RFC3725" target="https://www.rfc-editor.org/info/rfc3725" quoteTitle="true" derivedAnchor="RFC3725">
          <front>
            <title>Best Current Practices for Third Party Call Control (3pcc) in the Session Initiation Protocol (SIP)</title>
            <author initials="J." surname="Rosenberg" fullname="J. Rosenberg">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="J." surname="Peterson" fullname="J. Peterson">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="H." surname="Schulzrinne" fullname="H. Schulzrinne">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="G." surname="Camarillo" fullname="G. Camarillo">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2004" month="April"/>
            <abstract>
              <t indent="0">Third party call control refers to the ability of one entity to create a call in which communication is actually between other parties.  Third party call control is possible using the mechanisms specified within the Session Initiation Protocol (SIP).  However, there are several possible approaches, each with different benefits and drawbacks.  This document discusses best current practices for the usage of SIP for third party call control.  This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="85"/>
          <seriesInfo name="RFC" value="3725"/>
          <seriesInfo name="DOI" value="10.17487/RFC3725"/>
        </reference>
        <reference anchor="RFC3960" target="https://www.rfc-editor.org/info/rfc3960" quoteTitle="true" derivedAnchor="RFC3960">
          <front>
            <title>Early Media and Ringing Tone Generation in the Session Initiation Protocol (SIP)</title>
            <author initials="G." surname="Camarillo" fullname="G. Camarillo">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="H." surname="Schulzrinne" fullname="H. Schulzrinne">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2004" month="December"/>
            <abstract>
              <t indent="0">This document describes how to manage early media in the Session Initiation Protocol (SIP) using two models: the gateway model and the application server model.  It also describes the inputs one needs to consider in defining local policies for ringing tone generation.  This memo provides information for the Internet community.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="3960"/>
          <seriesInfo name="DOI" value="10.17487/RFC3960"/>
        </reference>
        <reference anchor="RFC5245" target="https://www.rfc-editor.org/info/rfc5245" quoteTitle="true" derivedAnchor="RFC5245">
          <front>
            <title>Interactive Connectivity Establishment (ICE): A Protocol for Network Address Translator (NAT) Traversal for Offer/Answer Protocols</title>
            <author initials="J." surname="Rosenberg" fullname="J. Rosenberg">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2010" month="April"/>
            <abstract>
              <t indent="0">This document describes a protocol for Network Address Translator (NAT) traversal for UDP-based multimedia sessions established with the offer/answer model.  This protocol is called Interactive Connectivity Establishment (ICE).  ICE makes use of the Session Traversal Utilities for NAT (STUN) protocol and its extension, Traversal Using Relay NAT (TURN).  ICE can be used by any protocol utilizing the offer/answer model, such as the Session Initiation Protocol (SIP).  [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="5245"/>
          <seriesInfo name="DOI" value="10.17487/RFC5245"/>
        </reference>
        <reference anchor="RFC5626" target="https://www.rfc-editor.org/info/rfc5626" quoteTitle="true" derivedAnchor="RFC5626">
          <front>
            <title>Managing Client-Initiated Connections in the Session Initiation Protocol (SIP)</title>
            <author initials="C." surname="Jennings" fullname="C. Jennings" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="R." surname="Mahy" fullname="R. Mahy" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="F." surname="Audet" fullname="F. Audet" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2009" month="October"/>
            <abstract>
              <t indent="0">The Session Initiation Protocol (SIP) allows proxy servers to initiate TCP connections or to send asynchronous UDP datagrams to User Agents in order to deliver requests.  However, in a large number of real deployments, many practical considerations, such as the existence of firewalls and Network Address Translators (NATs) or the use of TLS with server-provided certificates, prevent servers from connecting to User Agents in this way.  This specification defines behaviors for User Agents, registrars, and proxy servers that allow requests to be delivered on existing connections established by the User Agent.  It also defines keep-alive behaviors needed to keep NAT bindings open and specifies the usage of multiple connections from the User Agent to its registrar.  [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="5626"/>
          <seriesInfo name="DOI" value="10.17487/RFC5626"/>
        </reference>
        <reference anchor="RFC5898" target="https://www.rfc-editor.org/info/rfc5898" quoteTitle="true" derivedAnchor="RFC5898">
          <front>
            <title>Connectivity Preconditions for Session Description Protocol (SDP) Media Streams</title>
            <author initials="F." surname="Andreasen" fullname="F. Andreasen">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="G." surname="Camarillo" fullname="G. Camarillo">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="D." surname="Oran" fullname="D. Oran">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="D." surname="Wing" fullname="D. Wing">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2010" month="July"/>
            <abstract>
              <t indent="0">This document defines a new connectivity precondition for the Session Description Protocol (SDP) precondition framework.  A connectivity precondition can be used to delay session establishment or modification until media stream connectivity has been successfully verified.  The method of verification may vary depending on the type of transport used for the media.  For unreliable datagram transports such as UDP, verification involves probing the stream with data or control packets.  For reliable connection-oriented transports such as TCP, verification can be achieved simply by successful connection establishment or by probing the connection with data or control packets, depending on the situation.  [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="5898"/>
          <seriesInfo name="DOI" value="10.17487/RFC5898"/>
        </reference>
        <reference anchor="RFC6679" target="https://www.rfc-editor.org/info/rfc6679" quoteTitle="true" derivedAnchor="RFC6679">
          <front>
            <title>Explicit Congestion Notification (ECN) for RTP over UDP</title>
            <author initials="M." surname="Westerlund" fullname="M. Westerlund">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="I." surname="Johansson" fullname="I. Johansson">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="C." surname="Perkins" fullname="C. Perkins">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="P." surname="O'Hanlon" fullname="P. O'Hanlon">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="K." surname="Carlberg" fullname="K. Carlberg">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2012" month="August"/>
            <abstract>
              <t indent="0">This memo specifies how Explicit Congestion Notification (ECN) can be used with the Real-time Transport Protocol (RTP) running over UDP, using the RTP Control Protocol (RTCP) as a feedback mechanism.  It defines a new RTCP Extended Report (XR) block for periodic ECN feedback, a new RTCP transport feedback message for timely reporting of congestion events, and a Session Traversal Utilities for NAT (STUN) extension used in the optional initialisation method using Interactive Connectivity Establishment (ICE).  Signalling and procedures for negotiation of capabilities and initialisation methods are also defined.  [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="6679"/>
          <seriesInfo name="DOI" value="10.17487/RFC6679"/>
        </reference>
        <reference anchor="RFC7675" target="https://www.rfc-editor.org/info/rfc7675" quoteTitle="true" derivedAnchor="RFC7675">
          <front>
            <title>Session Traversal Utilities for NAT (STUN) Usage for Consent Freshness</title>
            <author initials="M." surname="Perumal" fullname="M. Perumal">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="D." surname="Wing" fullname="D. Wing">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="R." surname="Ravindranath" fullname="R. Ravindranath">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="T." surname="Reddy" fullname="T. Reddy">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="M." surname="Thomson" fullname="M. Thomson">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2015" month="October"/>
            <abstract>
              <t indent="0">To prevent WebRTC applications, such as browsers, from launching attacks by sending traffic to unwilling victims, periodic consent to send needs to be obtained from remote endpoints.</t>
              <t indent="0">This document describes a consent mechanism using a new Session Traversal Utilities for NAT (STUN) usage.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7675"/>
          <seriesInfo name="DOI" value="10.17487/RFC7675"/>
        </reference>
        <reference anchor="RFC8126" target="https://www.rfc-editor.org/info/rfc8126" quoteTitle="true" derivedAnchor="RFC8126">
          <front>
            <title>Guidelines for Writing an IANA Considerations Section in RFCs</title>
            <author initials="M." surname="Cotton" fullname="M. Cotton">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="B." surname="Leiba" fullname="B. Leiba">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="T." surname="Narten" fullname="T. Narten">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2017" month="June"/>
            <abstract>
              <t indent="0">Many protocols make use of points of extensibility that use constants to identify various protocol parameters.  To ensure that the values in these fields do not have conflicting uses and to promote interoperability, their allocations are often coordinated by a central record keeper.  For IETF protocols, that role is filled by the Internet Assigned Numbers Authority (IANA).</t>
              <t indent="0">To make assignments in a given registry prudently, guidance describing the conditions under which new values should be assigned, as well as when and how modifications to existing values can be made, is needed.  This document defines a framework for the documentation of these guidelines by specification authors, in order to assure that the provided guidance for the IANA Considerations is clear and addresses the various issues that are likely in the operation of a registry.</t>
              <t indent="0">This is the third edition of this document; it obsoletes RFC 5226.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="26"/>
          <seriesInfo name="RFC" value="8126"/>
          <seriesInfo name="DOI" value="10.17487/RFC8126"/>
        </reference>
        <reference anchor="RFC8859" target="https://www.rfc-editor.org/info/rfc8859" quoteTitle="true" derivedAnchor="RFC8859">
          <front>
            <title>A Framework for Session Description Protocol (SDP) Attributes When Multiplexing</title>
            <author initials="S" surname="Nandakumar" fullname="Suhas Nandakumar">
              <organization showOnFrontPage="true"/>
            </author>
            <date month="January" year="2021"/>
          </front>
          <seriesInfo name="RFC" value="8859"/>
          <seriesInfo name="DOI" value="10.17487/RFC8859"/>
        </reference>
        <reference anchor="RFC8863" target="https://www.rfc-editor.org/info/rfc8863" quoteTitle="true" derivedAnchor="RFC8863">
          <front>
            <title>Interactive Connectivity Establishment Patiently Awaiting Connectivity (ICE PAC)</title>
            <author initials="C" surname="Holmberg" fullname="Christer Holmberg">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="J" surname="Uberti" fullname="Justin Uberti">
              <organization showOnFrontPage="true"/>
            </author>
            <date month="January" year="2021"/>
          </front>
          <seriesInfo name="RFC" value="8863"/>
          <seriesInfo name="DOI" value="10.17487/RFC8863"/>
        </reference>
      </references>
    </references>
    <section anchor="sec-example" numbered="true" toc="include" removeInRFC="false" pn="section-appendix.a">
      <name slugifiedName="name-examples">Examples</name>
      <t indent="0" pn="section-appendix.a-1">
For the example shown in <xref target="RFC8445" sectionFormat="of" section="15" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8445#section-15" derivedContent="RFC8445"/>, 
the resulting offer (message 5) encoded in SDP looks like (lines folded for clarity):
</t>
      <sourcecode name="" type="sdp" markers="false" pn="section-appendix.a-2">
v=0
o=jdoe 2890844526 2890842807 IN IP6 $L-PRIV-1.IP
s=
c=IN IP6 $NAT-PUB-1.IP
t=0 0
a=ice-options:ice2
a=ice-pacing:50
a=ice-pwd:asd88fgpdd777uzjYhagZg
a=ice-ufrag:8hhY
m=audio $NAT-PUB-1.PORT RTP/AVP 0
b=RS:0
b=RR:0
a=rtpmap:0 PCMU/8000
a=candidate:1 1 UDP 2130706431 $L-PRIV-1.IP $L-PRIV-1.PORT typ host
a=candidate:2 1 UDP 1694498815 $NAT-PUB-1.IP $NAT-PUB-1.PORT typ
 srflx raddr $L-PRIV-1.IP rport $L-PRIV-1.PORT
</sourcecode>
      <t indent="0" pn="section-appendix.a-3">
The offer, with the variables replaced with their values, will look like (lines folded for clarity):
</t>
      <sourcecode name="" type="sdp" markers="false" pn="section-appendix.a-4">
v=0
o=jdoe 2890844526 2890842807 IN IP6 fe80::6676:baff:fe9c:ee4a
s=
c=IN IP6 2001:db8:8101:3a55:4858:a2a9:22ff:99b9
t=0 0
a=ice-options:ice2
a=ice-pacing:50
a=ice-pwd:asd88fgpdd777uzjYhagZg
a=ice-ufrag:8hhY
m=audio 45664 RTP/AVP 0
b=RS:0
b=RR:0
a=rtpmap:0 PCMU/8000
a=candidate:1 1 UDP 2130706431 fe80::6676:baff:fe9c:ee4a 8998
 typ host
a=candidate:2 1 UDP 1694498815 2001:db8:8101:3a55:4858:a2a9:22ff:99b9
 45664 typ srflx raddr fe80::6676:baff:fe9c:ee4a rport 8998
</sourcecode>
      <t indent="0" pn="section-appendix.a-5">
The resulting answer looks like:
</t>
      <sourcecode name="" type="sdp" markers="false" pn="section-appendix.a-6">
v=0
o=bob 2808844564 2808844564 IN IP4 $R-PUB-1.IP
s=
c=IN IP4 $R-PUB-1.IP
t=0 0
a=ice-options:ice2
a=ice-pacing:50
a=ice-pwd:YH75Fviy6338Vbrhrlp8Yh
a=ice-ufrag:9uB6
m=audio $R-PUB-1.PORT RTP/AVP 0
b=RS:0
b=RR:0
a=rtpmap:0 PCMU/8000
a=candidate:1 1 UDP 2130706431 $R-PUB-1.IP $R-PUB-1.PORT typ host
</sourcecode>
      <t indent="0" pn="section-appendix.a-7">
With the variables filled in:
</t>
      <sourcecode name="" type="sdp" markers="false" pn="section-appendix.a-8">
v=0
o=bob 2808844564 2808844564 IN IP4 192.0.2.1
s=
c=IN IP4 192.0.2.1
t=0 0
a=ice-options:ice2
a=ice-pacing:50
a=ice-pwd:YH75Fviy6338Vbrhrlp8Yh
a=ice-ufrag:9uB6
m=audio 3478 RTP/AVP 0
b=RS:0
b=RR:0
a=rtpmap:0 PCMU/8000
a=candidate:1 1 UDP 2130706431 192.0.2.1 3478 typ host
</sourcecode>
    </section>
    <section anchor="sec-why-remote" numbered="true" toc="include" removeInRFC="false" pn="section-appendix.b">
      <name slugifiedName="name-the-remote-candidates-attri">The "remote-candidates" Attribute</name>
      <t indent="0" pn="section-appendix.b-1">
The "remote-candidates" attribute exists to eliminate a race condition between the updated offer and the response to the STUN Binding request that moved a candidate into the valid list.
This race condition is shown in <xref target="fig-race-flow" format="default" sectionFormat="of" derivedContent="Figure 1"/>.
On receipt of message 4, agent L adds a candidate pair to the valid list.
If there was only a single data stream with a single component, agent L could now send an updated offer.
   However, the check from agent R has not yet 
   received a response, and agent R receives the updated offer 
   (message 7) before getting the response (message 9).  
Thus, it does not yet know that this particular pair is valid.
To eliminate this condition, the actual candidates at R that were selected by the offerer (the remote candidates) are included in the offer itself, and the answerer delays its answer until those pairs validate.
</t>
      <figure anchor="fig-race-flow" align="left" suppress-title="false" pn="figure-1">
        <name slugifiedName="name-race-condition-flow">Race Condition Flow</name>
        <artwork name="" type="" align="left" alt="" pn="section-appendix.b-2.1">
Agent L               Network               Agent R
   |(1) Offer            |                     |
   |------------------------------------------&gt;|
   |(2) Answer           |                     |
   |&lt;------------------------------------------|
   |(3) STUN Req.        |                     |
   |------------------------------------------&gt;|
   |(4) STUN Res.        |                     |
   |&lt;------------------------------------------|
   |(5) STUN Req.        |                     |
   |&lt;------------------------------------------|
   |(6) STUN Res.        |                     |
   |--------------------&gt;|                     |
   |                     |Lost                 |
   |(7) Offer            |                     |
   |------------------------------------------&gt;|
   |(8) STUN Req.        |                     |
   |&lt;------------------------------------------|
   |(9) STUN Res.        |                     |
   |------------------------------------------&gt;|
   |(10) Answer          |                     |
   |&lt;------------------------------------------|
</artwork>
      </figure>
    </section>
    <section anchor="sec-glare" numbered="true" toc="include" removeInRFC="false" pn="section-appendix.c">
      <name slugifiedName="name-why-is-the-conflict-resolut">Why Is the Conflict Resolution Mechanism Needed?</name>
      <t indent="0" pn="section-appendix.c-1">
When ICE runs between two peers, one agent acts as controlled, and the other as controlling.
Rules are defined as a function of implementation type and offerer/answerer to determine who is controlling and who is controlled.
However, the specification mentions that, in some cases, both sides might believe they are controlling, or both sides might believe they are controlled.
How can this happen?
</t>
      <t indent="0" pn="section-appendix.c-2">
The condition when both agents believe they are controlled shows up in third party call control cases.
Consider the following flow:
</t>
      <figure anchor="fig-conflict" align="left" suppress-title="false" pn="figure-2">
        <name slugifiedName="name-role-conflict-flow">Role Conflict Flow</name>
        <artwork name="" type="" align="left" alt="" pn="section-appendix.c-3.1">
          A         Controller          B
          |(1) INV()     |              |
          |&lt;-------------|              |
          |(2) 200(SDP1) |              |
          |-------------&gt;|              |
          |              |(3) INV()     |
          |              |-------------&gt;|
          |              |(4) 200(SDP2) |
          |              |&lt;-------------|
          |(5) ACK(SDP2) |              |
          |&lt;-------------|              |
          |              |(6) ACK(SDP1) |
          |              |-------------&gt;|
</artwork>
      </figure>
      <t indent="0" pn="section-appendix.c-4">
This flow is a variation on flow III of RFC 3725 <xref target="RFC3725" format="default" sectionFormat="of" derivedContent="RFC3725"/>.
In fact, it works better than flow III since it produces fewer messages.
In this flow, the controller sends an offerless INVITE to agent A, which responds with its offer, SDP1.
The agent then sends an offerless INVITE to agent B, which it responds to with its offer, SDP2.
The controller then uses the offer from each agent to generate the answers.
When this flow is used, ICE will run between agents A and B, but both will believe they are in the controlling role.
With the role conflict resolution procedures, this flow will function properly when ICE is used.
</t>
      <t indent="0" pn="section-appendix.c-5">
At this time, there are no documented flows that can result in the case where both agents believe they are controlled.
However, the conflict resolution procedures allow for this case, should a flow arise that would fit into this category.
</t>
    </section>
    <section numbered="true" toc="include" removeInRFC="false" pn="section-appendix.d">
      <name slugifiedName="name-why-send-an-updated-offer">Why Send an Updated Offer?</name>
      <t indent="0" pn="section-appendix.d-1">
<xref target="RFC8445" section="12.1" sectionFormat="of" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8445#section-12.1" derivedContent="RFC8445"/> 
describes rules for sending media.
Both agents can send media once ICE checks complete, without waiting for an updated offer.
Indeed, the only purpose of the updated offer is to "correct" the SDP so that the default destination for media matches where media is being sent based on ICE procedures (which will be the highest-priority nominated candidate pair).
</t>
      <t indent="0" pn="section-appendix.d-2">
This raises the question -- why is the updated offer/answer exchange needed at all?
Indeed, in a pure offer/answer environment, it would not be.
The offerer and answerer will agree on the candidates to use through ICE, and then can begin using them.
As far as the agents themselves are concerned, the updated offer/answer provides no new information.
However, in practice, numerous components along the signaling path look at the SDP information.
These include entities performing off-path QoS reservations, NAT traversal components such as ALGs and Session Border Controllers (SBCs), and diagnostic tools that passively monitor the network.
For these tools to continue to function without change, the core property of SDP -- that the existing, pre-ICE definitions of the addresses used for media -- the "m=" and "c=" lines and the "rtcp" attribute -- must be retained.
For this reason, an updated offer must be sent.
</t>
    </section>
    <section numbered="false" toc="include" removeInRFC="false" pn="section-appendix.e">
      <name slugifiedName="name-acknowledgements">Acknowledgements</name>
      <t indent="0" pn="section-appendix.e-1">
A large part of the text in this document was taken from <xref target="RFC5245" format="default" sectionFormat="of" derivedContent="RFC5245"/>, authored by <contact fullname="Jonathan Rosenberg"/>.
</t>
      <t indent="0" pn="section-appendix.e-2">
Some of the text in this document was taken from <xref target="RFC6336" format="default" sectionFormat="of" derivedContent="RFC6336"/>, 
authored by <contact fullname="Magnus Westerlund"/> and <contact fullname="Colin Perkins"/>.
</t>
      <t indent="0" pn="section-appendix.e-3">
Many thanks to <contact fullname="Flemming Andreasen"/> for shepherd review feedback.
</t>
      <t indent="0" pn="section-appendix.e-4">
Thanks to following experts for their reviews and constructive feedback: 
<contact fullname="Thomas Stach"/>, <contact fullname="Adam Roach"/>, 
<contact fullname="Peter Saint-Andre"/>, <contact fullname="Roman Danyliw"/>, 
<contact fullname="Alissa Cooper"/>, <contact fullname="Benjamin Kaduk"/>, 
<contact fullname="Mirja Kühlewind"/>, <contact fullname="Alexey Melnikov"/>, and 
<contact fullname="Éric Vyncke"/> for their detailed reviews.
</t>
    </section>
    <section numbered="false" toc="include" removeInRFC="false" pn="section-appendix.f">
      <name slugifiedName="name-contributors">Contributors</name>
      <t indent="0" pn="section-appendix.f-1">
The following experts have contributed textual and structural improvements for this work:
</t>
      <contact fullname="Thomas Stach">
        <address>
          <email>thomass.stach@gmail.com</email>
        </address>
      </contact>
    </section>
    <section anchor="authors-addresses" numbered="false" removeInRFC="false" toc="include" pn="section-appendix.g">
      <name slugifiedName="name-authors-addresses">Authors' Addresses</name>
      <author surname="Petit-Huguenin" initials="M." fullname="Marc Petit-Huguenin">
        <organization showOnFrontPage="true">Impedance Mismatch</organization>
        <address>
          <email>marc@petit-huguenin.org</email>
        </address>
      </author>
      <author surname="Nandakumar" initials="S." fullname="Suhas Nandakumar">
        <organization showOnFrontPage="true">Cisco Systems</organization>
        <address>
          <postal>
            <street>707 Tasman Dr</street>
            <city>Milpitas</city>
            <region>CA</region>
            <code>95035</code>
            <country>United States of America</country>
          </postal>
          <email>snandaku@cisco.com</email>
        </address>
      </author>
      <author fullname="Christer Holmberg" initials="C." surname="Holmberg">
        <organization abbrev="Ericsson" showOnFrontPage="true">Ericsson</organization>
        <address>
          <postal>
            <street>Hirsalantie 11</street>
            <city>Jorvas</city>
            <region/>
            <code>02420</code>
            <country>Finland</country>
          </postal>
          <email>christer.holmberg@ericsson.com</email>
        </address>
      </author>
      <author surname="Keränen" initials="A." fullname="Ari Keränen">
        <organization showOnFrontPage="true">Ericsson</organization>
        <address>
          <postal>
            <street/>
            <city>Jorvas</city>
            <code>02420</code>
            <country>Finland</country>
          </postal>
          <email>ari.keranen@ericsson.com</email>
        </address>
      </author>
      <author fullname="Roman Shpount" initials="R." surname="Shpount">
        <organization abbrev="TurboBridge" showOnFrontPage="true">TurboBridge</organization>
        <address>
          <postal>
            <street>4905 Del Ray Avenue, Suite 300</street>
            <city>Bethesda</city>
            <region>MD</region>
            <code>20814</code>
            <country>United States of America</country>
          </postal>
          <email>rshpount@turbobridge.com</email>
        </address>
      </author>
    </section>
  </back>
</rfc>
