<?xmlversion="1.0" encoding="US-ASCII"?> <!DOCTYPE rfc SYSTEM "rfc2629.dtd"> <?rfc toc="yes"?> <?rfc tocompact="yes"?> <?rfc tocdepth="3"?> <?rfc tocindent="yes"?> <?rfc symrefs="yes"?> <?rfc sortrefs="yes"?> <?rfc comments="yes"?> <?rfc inline="yes"?> <?rfc compact="yes"?> <?rfc subcompact="no"?>version='1.0' encoding='utf-8'?> <rfc xmlns:xi="http://www.w3.org/2001/XInclude" version="3" category="std" consensus="true" docName="draft-ietf-rtcweb-overview-19"ipr="trust200902">indexInclude="true" ipr="trust200902" number="8825" prepTime="2021-01-16T21:00:15" 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-rtcweb-overview-19" rel="prev"/> <link href="https://dx.doi.org/10.17487/rfc8825" rel="alternate"/> <link href="urn:issn:2070-1721" rel="alternate"/> <front> <title abbrev="WebRTC Overview">Overview:Real TimeReal-Time Protocols forBrowser-basedBrowser-Based Applications</title> <seriesInfo name="RFC" value="8825" stream="IETF"/> <author fullname="Harald T. Alvestrand"initials="H. T. "initials="H." surname="Alvestrand"><organization>Google</organization><organization showOnFrontPage="true">Google</organization> <address> <postal> <street>Kungsbron 2</street> <city>Stockholm</city> <region/> <code>11122</code> <country>Sweden</country> </postal> <email>harald@alvestrand.no</email> </address> </author> <dateday="12" month="November" year="2017"/> <abstract> <t>Thismonth="01" year="2021"/> <abstract pn="section-abstract"> <t indent="0" pn="section-abstract-1">This document gives an overview and context of a protocol suite intended for use with real-time applications that can be deployed in browsers- "real time-- "real-time communication on the Web".</t><t>It<t indent="0" pn="section-abstract-2">It intends to serve as a starting and coordination point to make sure that (1) all the parts that are needed to achieve this goal arefindable,findable andthat(2) the parts that belong in the Internet protocol suite are fully specified and on the right publication track.</t><t>This<t indent="0" pn="section-abstract-3">This document is anApplicability Statement -applicability statement -- it does not itself specify any protocol, but it specifies which other specificationsWebRTC compliantimplementations are supposed tofollow.</t> <t>Thisfollow to be compliant with Web Real-Time Communication (WebRTC).</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 awork itemproduct of theRTCWEB working group.</t> </abstract>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/rfc8825" 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> </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" 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-principles-and-terminology">Principles and Terminology</xref></t> <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.2.2"> <li pn="section-toc.1-1.2.2.1"> <t indent="0" keepWithNext="true" pn="section-toc.1-1.2.2.1.1"><xref derivedContent="2.1" format="counter" sectionFormat="of" target="section-2.1"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-goals-of-this-document">Goals of This Document</xref></t> </li> <li pn="section-toc.1-1.2.2.2"> <t indent="0" keepWithNext="true" pn="section-toc.1-1.2.2.2.1"><xref derivedContent="2.2" format="counter" sectionFormat="of" target="section-2.2"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-relationship-between-api-an">Relationship between API and Protocol</xref></t> </li> <li pn="section-toc.1-1.2.2.3"> <t indent="0" pn="section-toc.1-1.2.2.3.1"><xref derivedContent="2.3" format="counter" sectionFormat="of" target="section-2.3"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-on-interoperability-and-inn">On Interoperability and Innovation</xref></t> </li> <li pn="section-toc.1-1.2.2.4"> <t indent="0" pn="section-toc.1-1.2.2.4.1"><xref derivedContent="2.4" format="counter" sectionFormat="of" target="section-2.4"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-terminology">Terminology</xref></t> </li> </ul> </li> <li pn="section-toc.1-1.3"> <t indent="0" 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-architecture-and-functional">Architecture and Functionality Groups</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-data-transport">Data Transport</xref></t> </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-data-framing-and-securing">Data Framing and Securing</xref></t> </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-data-formats">Data Formats</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-connection-management">Connection Management</xref></t> </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-presentation-and-control">Presentation and Control</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-local-system-support-functi">Local System Support Functions</xref></t> </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> </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-security-considerations">Security Considerations</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="" format="none" sectionFormat="of" target="section-appendix.a"/><xref derivedContent="" format="title" sectionFormat="of" target="name-acknowledgements">Acknowledgements</xref></t> </li> <li pn="section-toc.1-1.14"> <t indent="0" pn="section-toc.1-1.14.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.b"/><xref derivedContent="" format="title" sectionFormat="of" target="name-authors-address">Author's Address</xref></t> </li> </ul> </section> </toc> </front> <middle> <sectiontitle="Introduction"> <t>Theanchor="intro" numbered="true" toc="include" removeInRFC="false" pn="section-1"> <name slugifiedName="name-introduction">Introduction</name> <t indent="0" pn="section-1-1">The Internet was, from very early in its lifetime, considered a possible vehicle for the deployment of real-time, interactive applications--- with the most easily imaginable being audio conversations (aka "Internet telephony") and video conferencing.</t><t>The<t indent="0" pn="section-1-2">The first attempts to buildthissuch applications were dependent on special networks, specialhardwarehardware, and custom-built software, often at very high prices oratof low quality, placing great demands on theinfrastructure.</t> <t>Asinfrastructure. </t> <t indent="0" pn="section-1-3">As the available bandwidth has increased, and as processors and other hardwarehashave become ever faster, the barriers to participation have decreased, and it has become possible to deliver a satisfactory experience on commonly available computing hardware.</t><t>Still,<t indent="0" pn="section-1-4">Still, there are a number of barriers to the ability to communicate universally--- one of these is that there is, as of yet, no single set of communication protocols that all agree should be made available for communication; another is the sheer lack of universal identification systems (such as is served by telephone numbers or email addresses in other communications systems).</t><t>Development<t indent="0" pn="section-1-5">Development ofThe"The UniversalSolutionSolution" has, however, proved hard.</t><t>The<t indent="0" pn="section-1-6">The last few years have also seen a new platform rise for deployment of services:Thethe browser-embedded application, or"Web"web application". It turns out that as long as the browser platform has the necessary interfaces, it is possible to deliver almost any kind of serviceon it.</t> <t>Traditionally,on it.</t> <t indent="0" pn="section-1-7">Traditionally, these interfaces have been delivered by plugins, which had to be downloaded and installed separately from the browser; in the development ofHTML5,HTML5 <xref target="HTML5" format="default" sectionFormat="of" derivedContent="HTML5"/>, application developers see much promise in the possibility of making those interfaces available in a standardized way within the browser.</t><t>This<t indent="0" pn="section-1-8">This memo describes a set of building blocks that (1) can be made accessible and controllable through aJavascriptJavaScript API in abrowser,browser andwhich(2) together form a sufficient set of functions to allow the use of interactive audio and video in applications that communicate directly between browsers across the Internet. The resulting protocol suite is intended to enable all the applications that are described as required scenarios in theuse casesWebRTC "use cases" document <xreftarget="RFC7478"/>.</t> <t>Other efforts,target="RFC7478" format="default" sectionFormat="of" derivedContent="RFC7478"/>.</t> <t indent="0" pn="section-1-9">Other efforts -- forinstanceinstance, the W3C Web Real-Time Communications, Web Applications Security, andDeviceDevices andSensor working groups,Sensors Working Groups -- focus on making standardized APIs and interfaces available, within or alongside the HTML5 effort, for those functions. This memo concentrates on specifying the protocols and subprotocols that are needed to specify the interactions over the network.</t><t>Operators<t indent="0" pn="section-1-10">Operators should note that deployment of WebRTC will result in a change in the nature of signaling forreal timereal-time media on thenetwork,network and may result in a shift in the kinds of devices used to create and consume such media. In the case of signaling, WebRTC session setup will typically occur over TLS-secured web technologies using application-specific protocols. Operational techniques that involve inserting network elements to interpretSDPthe Session Description Protocol (SDP) --eitherthrough either (1) the endpointcooperationasking the network for a SIP server <xreftarget="RFC3361"/>target="RFC3361" format="default" sectionFormat="of" derivedContent="RFC3361"/> orthrough the(2) the transparent insertion of SIP ApplicationLevelLayer Gateways (ALGs) -- will not work with such signaling. In the case of networks using cooperative endpoints, the approaches defined in <xreftarget="RFC8155"/>target="RFC8155" format="default" sectionFormat="of" derivedContent="RFC8155"/> may serve as a suitable replacement for <xreftarget="RFC3361"/>.target="RFC3361" format="default" sectionFormat="of" derivedContent="RFC3361"/>. The increase in browser-based communications may also lead to a shift away from dedicated real-time-communications hardware, such as SIP desk phones. This will diminish the efficacy of operational techniques that place dedicated real-time devices on their own network segment, address range, or VLAN for purposes such as applying traffic filtering and QoS. Applying the markings described in <xreftarget="I-D.ietf-tsvwg-rtcweb-qos"/>target="RFC8837" format="default" sectionFormat="of" derivedContent="RFC8837"/> may be appropriate replacements for such techniques.</t><t>This memo uses the term "WebRTC" (note<t indent="0" pn="section-1-11">While this document formally relies on <xref target="RFC8445" format="default" sectionFormat="of" derivedContent="RFC8445"/>, at thecase used) to refer totime of its publication, theoverall effort consistingmajority ofboth IETFWebRTC implementations support the version of Interactive Connectivity Establishment (ICE) that is described in <xref target="RFC5245" format="default" sectionFormat="of" derivedContent="RFC5245"/> and use a pre-standard version of the Trickle ICE mechanism described in <xref target="RFC8838" format="default" sectionFormat="of" derivedContent="RFC8838"/>. The "ice2" attribute defined in <xref target="RFC8445" format="default" sectionFormat="of" derivedContent="RFC8445"/> can be used to detect the version in use by a remote endpoint and to provide a smooth transition from the older specification to the newer one.</t> <t indent="0" pn="section-1-12">This memo uses the term "WebRTC" (note the case used) to refer to the overall effort consisting of both IETF and W3C efforts.</t> </section> <sectiontitle="Principlesnumbered="true" toc="include" removeInRFC="false" pn="section-2"> <name slugifiedName="name-principles-and-terminology">Principles andTerminology"> <t/>Terminology</name> <t indent="0" pn="section-2-1"/> <sectiontitle="Goalsnumbered="true" toc="include" removeInRFC="false" pn="section-2.1"> <name slugifiedName="name-goals-of-this-document">Goals ofthis document"> <t>TheThis Document</name> <t indent="0" pn="section-2.1-1">The goal of the WebRTC protocol specification is to specify a set of protocols that, if all are implemented, will allow an implementation to communicate with another implementation using audio,videovideo, and data sent along the most direct possible path between the participants.</t><t>This<t indent="0" pn="section-2.1-2">This document is intended to serve as the roadmap to the WebRTC specifications. It defines terms used by other parts of the WebRTC protocol specifications, lists references to other specifications that don't need further elaboration in the WebRTC context, and gives pointers to other documents that form part of the WebRTC suite.</t><t>By<t indent="0" pn="section-2.1-3">By reading this document and the documents it refers to, it should be possible to have all information needed to implement aWebRTC compatibleWebRTC-compatible implementation.</t> </section> <sectiontitle="Relationshipnumbered="true" toc="include" removeInRFC="false" pn="section-2.2"> <name slugifiedName="name-relationship-between-api-an">Relationship between API andprotocol"> <t>TheProtocol</name> <t indent="0" pn="section-2.2-1">The total WebRTC effort consists of two major parts, each consisting of multiple documents:</t><t><list style="symbols"> <t>A<ul spacing="normal" bare="false" empty="false" indent="3" pn="section-2.2-2"> <li pn="section-2.2-2.1">A protocol specification, done in theIETF</t> <t>A JavascriptIETF</li> <li pn="section-2.2-2.2">A JavaScript API specification, defined in a series of W3C documents <xreftarget="W3C.WD-webrtc-20120209"/><xref target="W3C.WD-mediacapture-streams-20120628"/></t> </list>Together,target="W3C.WD-webrtc" format="default" sectionFormat="of" derivedContent="W3C.WD-webrtc"/> <xref target="W3C.WD-mediacapture-streams" format="default" sectionFormat="of" derivedContent="W3C.WD-mediacapture-streams"/></li> </ul> <t indent="0" pn="section-2.2-3">Together, these two specifications aim to provide an environment whereJavascriptJavaScript embedded in any page, when suitably authorized by its user, is able to set up communication using audio,videovideo, and auxiliary data, as long as the browser supportsthis specification.these specifications. The browser environment does not constrain the types of application in which this functionality can be used.</t><t>The<t indent="0" pn="section-2.2-4">The protocol specification does not assume that all implementations implement this API; it is not intended to be necessary for interoperation to know whether the entity one is communicating with is a browser or another device implementingthisthe protocol specification.</t><t>The<t indent="0" pn="section-2.2-5">The goal of cooperation between the protocol specification and the API specification is that for all options and features of the protocol specification, it should be clear which API calls to make to exercise that option or feature; similarly, for any sequence of API calls, it should be clear which protocol options and features will be invoked. Both are subject to constraints of the implementation, of course.</t><t>The<t indent="0" pn="section-2.2-6">The following terms are used across the documents specifying the WebRTC suite,inwith the specific meanings given here. Not all terms are used in this document. Other terms are usedinper their commonly usedmeaning.</t> <t><list style="hanging"> <t hangText="Agent:">Undefinedmeanings.</t> <dl newline="false" spacing="normal" indent="3" pn="section-2.2-7"> <dt pn="section-2.2-7.1">Agent:</dt> <dd pn="section-2.2-7.2">Undefined term. See "SDP Agent" and "ICEAgent".</t> <t hangText="ApplicationAgent".</dd> <dt pn="section-2.2-7.3">Application Programming Interface(API):">A(API):</dt> <dd pn="section-2.2-7.4">A specification of a set of calls and events, usually tied to a programming language or an abstract formal specification such as WebIDL, with its definedsemantics.</t> <t hangText="Browser:">Usedsemantics.</dd> <dt pn="section-2.2-7.5">Browser:</dt> <dd pn="section-2.2-7.6">Used synonymously with"Interactive User Agent""interactive user agent" as defined inthe HTML specification<xreftarget="W3C.WD-html5-20110525"/>.target="HTML5" format="default" sectionFormat="of" derivedContent="HTML5"/>. See also the "WebRTC Browser" (aka "WebRTC UserAgent".</t> <t hangText="Data Channel:">AnAgent") definition below.</dd> <dt pn="section-2.2-7.7">Data Channel:</dt> <dd pn="section-2.2-7.8">An abstraction that allows data to be sent between WebRTC endpoints in the form of messages. Two endpoints can have multiple data channels betweenthem.</t> <t hangText="ICE Agent:">Anthem.</dd> <dt pn="section-2.2-7.9">ICE Agent:</dt> <dd pn="section-2.2-7.10">An implementation of the Interactive Connectivity Establishment (ICE) protocol <xreftarget="RFC5245"/> protocol.target="RFC8445" format="default" sectionFormat="of" derivedContent="RFC8445"/>. An ICE Agent may also be an SDP Agent, but there exist ICE Agents that do not use SDP (forinstanceinstance, those that use Jingle <xreftarget="XEP-0166"> </xref>).</t> <t hangText="Interactive:">Communicationtarget="XEP-0166" format="default" sectionFormat="of" derivedContent="XEP-0166"> </xref>).</dd> <dt pn="section-2.2-7.11">Interactive:</dt> <dd pn="section-2.2-7.12">Communication between multiple parties, where the expectation is that an action from one party can cause a reaction by another party, and the reaction can be observed by the first party,withwhere the total time required for the action/reaction/observation is on the order of no more than hundreds ofmilliseconds.</t> <t hangText="Media:">Audiomilliseconds.</dd> <dt pn="section-2.2-7.13">Media:</dt> <dd pn="section-2.2-7.14">Audio and video content. Not to be confused with "transmission media" such aswires.</t> <t hangText="Media Path:">Thewires.</dd> <dt pn="section-2.2-7.15">Media Path:</dt> <dd pn="section-2.2-7.16">The path that media data follows from one WebRTC endpoint toanother.</t> <t hangText="Protocol:">Aanother.</dd> <dt pn="section-2.2-7.17">Protocol:</dt> <dd pn="section-2.2-7.18">A specification of a set of data units, their representation, and rules for their transmission, with their defined semantics. A protocol is usually thought of as going betweensystems.</t> <t hangText="Real-time Media:">Mediasystems.</dd> <dt pn="section-2.2-7.19">Real-Time Media:</dt> <dd pn="section-2.2-7.20">Media where the generationof contentand display of content are intended to occur closely together in time (on the order of no more than hundreds of milliseconds). Real-time media can be used to support interactivecommunication.</t> <t hangText="SDP Agent:">Thecommunication.</dd> <dt pn="section-2.2-7.21">SDP Agent:</dt> <dd pn="section-2.2-7.22">The protocol implementation involved in the Session Description Protocol (SDP) offer/answer exchange, as defined in <xreftarget="RFC3264"/> section 3.</t> <t hangText="Signaling:">Communicationtarget="RFC3264" sectionFormat="comma" section="3" format="default" derivedLink="https://rfc-editor.org/rfc/rfc3264#section-3" derivedContent="RFC3264"/>.</dd> <dt pn="section-2.2-7.23">Signaling:</dt> <dd pn="section-2.2-7.24">Communication that happens in order to establish,managemanage, and control media paths and datapaths.</t> <t hangText="Signaling Path:">Thepaths.</dd> <dt pn="section-2.2-7.25">Signaling Path:</dt> <dd pn="section-2.2-7.26">The communication channels used between entities participating in signaling to transfer signaling. There may be more entities in the signaling path than in the mediapath.</t> <t hangText="WebRTC Browser:">(alsopath.</dd> <dt pn="section-2.2-7.27">WebRTC Browser (also called aWebRTC"WebRTC UserAgentAgent" orWebRTC UA)"WebRTC UA"):</dt> <dd pn="section-2.2-7.28"> Something that conforms to both the protocol specification and theJavascriptJavaScript API citedabove.</t> <t hangText="WebRTC non-Browser:">above.</dd> <dt pn="section-2.2-7.29">WebRTC Non-Browser:</dt> <dd pn="section-2.2-7.30"> Something that conforms to the protocolspecification,specification but does not claim to implement theJavascriptJavaScript API. This can also be called a "WebRTC device" or "WebRTC nativeapplication".</t> <t hangText="WebRTC Endpoint:">application".</dd> <dt pn="section-2.2-7.31">WebRTC Endpoint:</dt> <dd pn="section-2.2-7.32"> Either a WebRTC browser or a WebRTC non-browser. It conforms to the protocolspecification.</t> <t hangText="WebRTC-compatible Endpoint:">specification.</dd> <dt pn="section-2.2-7.33">WebRTC-Compatible Endpoint:</dt> <dd pn="section-2.2-7.34"> An endpoint that is able to successfully communicate with a WebRTCendpoint,endpoint but may fail to meet some requirements of a WebRTC endpoint. This may limit where in the network such an endpoint can beattached,attached or may limit the security guarantees that it offers to others. It is not constrained by this specification; when it is mentioned at all, it is to note the implications on WebRTC-compatible endpoints of the requirements placed on WebRTCendpoints.</t> <t hangText="WebRTC Gateway:">endpoints.</dd> <dt pn="section-2.2-7.35">WebRTC Gateway:</dt> <dd pn="section-2.2-7.36"> A WebRTC-compatible endpoint that mediates media traffic to non-WebRTCentities.</t> </list>Allentities.</dd> </dl> <t indent="0" pn="section-2.2-8">All WebRTC browsers are WebRTC endpoints, so any requirement on a WebRTC endpoint also applies to a WebRTC browser.</t><t>A<t indent="0" pn="section-2.2-9">A WebRTC non-browser may be capable of hosting applications in asimilarway that is similar to the way in which a browser can hostJavascriptJavaScript applications, typically by offering APIs in other languages. Forinstanceinstance, it may be implemented as a library that offers a C++ API intended to be loaded into applications. In this case,similarsecurity considerationsassimilar to those forJavascriptJavaScript may be needed; however, since such APIs are not defined or referenced here, this document cannot give any specific rules for those interfaces.</t><t>WebRTC<t indent="0" pn="section-2.2-10">WebRTC gateways are described in a separatedocument,document <xreftarget="I-D.ietf-rtcweb-gateways"/>.</t>target="I-D.ietf-rtcweb-gateways" format="default" sectionFormat="of" derivedContent="WebRTC-Gateways"/>.</t> </section> <sectiontitle="On interoperabilitynumbered="true" toc="include" removeInRFC="false" pn="section-2.3"> <name slugifiedName="name-on-interoperability-and-inn">On Interoperability andinnovation"> <t>TheInnovation</name> <t indent="0" pn="section-2.3-1">The "Mission statementoffor the IETF" <xreftarget="RFC3935"/>target="RFC3935" format="default" sectionFormat="of" derivedContent="RFC3935"/> states that "The benefit of a standard to the Internet is in interoperability - that multiple products implementing a standard are able to work together in order to deliver valuable functions to the Internet's users."</t><t>Communication<t indent="0" pn="section-2.3-2">Communication on the Internet frequently occurs in two phases:</t><t><list style="symbols"> <t>Two<ul spacing="normal" bare="false" empty="false" indent="3" pn="section-2.3-3"> <li pn="section-2.3-3.1">Two parties communicate, through some mechanism, what functionality theybothare both able tosupport</t> <t>Theysupport.</li> <li pn="section-2.3-3.2">They use that shared communicative functionality tocommunicate,communicate or, failing to find anything in common, give up oncommunication.</t> </list>Therecommunication.</li> </ul> <t indent="0" pn="section-2.3-4">There are often many choices that can be made for communicative functionality; the history of the Internet is rife with the proposal, standardization, implementation, and success or failure of many types of options, in all sorts of protocols.</t><t>The<t indent="0" pn="section-2.3-5">The goal of having amandatory to implementmandatory-to-implement function set is to prevent negotiation failure, not to preempt or prevent negotiation.</t><t>The<t indent="0" pn="section-2.3-6">The presence of amandatory to implementmandatory-to-implement function set serves as a strong changer of the marketplace of deployment-in that it gives a guaranteethat,that you can communicate successfully as long asyou(1) you conform to aspecification,specification andthe(2) the other party is willing to accept communication at the base level of thatspecification, you can communicate successfully.</t> <t>The alternative, that isspecification.</t> <t indent="0" pn="section-2.3-7">The alternative (that is, not havingno mandatory to implement,a mandatory-to-implement function) does not mean that you cannotcommunicate,communicate; it merely means that in order to be part of the communications partnership, you have to implement the standard "and then some". The "and then some" is usually called a profile of some sort; in the version most antithetical to the Internet ethos, that "and then some" consists of having to use a specific vendor's product only.</t> </section> <sectiontitle="Terminology"> <t>Thenumbered="true" toc="include" removeInRFC="false" pn="section-2.4"> <name slugifiedName="name-terminology">Terminology</name> <t indent="0" pn="section-2.4-1">The key words"MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY","<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"OPTIONAL""<bcp14>OPTIONAL</bcp14>" in this document are to be interpreted as described in BCP 14 <xreftarget="RFC2119"/>.</t>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> <sectiontitle="Architectureanchor="arch-func-grps" numbered="true" toc="include" removeInRFC="false" pn="section-3"> <name slugifiedName="name-architecture-and-functional">Architecture and Functionalitygroups"> <t>ForGroups</name> <t indent="0" pn="section-3-1">For browser-based applications, the model for real-time support does not assume that the browser will contain all the functions needed for an application such as a telephone or a video conference. The vision is that the browser will have the functions needed for aWebweb application, working in conjunction with its backend servers, to implement these functions.</t><t>This<t indent="0" pn="section-3-2">This means that two vital interfaces need specification:Thethe protocols that browsers use to talk to each other, without any interveningservers,servers; and the APIs that are offered for aJavascriptJavaScript application to take advantage of the browser's functionality.</t> <figure anchor="fig-browser-model"title="Browser Model"> <artwork><![CDATA[align="left" suppress-title="false" pn="figure-1"> <name slugifiedName="name-browser-model">Browser Model</name> <artwork name="" type="" align="left" alt="" pn="section-3-3.1"> +------------------------+ On-the-wire | | Protocols | Servers|--------->|---------> | | | | +------------------------+ ^ | | | HTTPS/ | WebSockets | | +----------------------------+ |Javascript/HTML/CSSJavaScript/HTML/CSS | +----------------------------+ Other ^ ^ RTC APIs | | APIs +---|-----------------|------+ | | | | | +---------+| | | Browser || On-the-wire | Browser | RTC || Protocols | |Function|----------->Function|-----------> | | || | | || | +---------+| +---------------------|------+ | V Native OS Services]]></artwork></artwork> </figure><t>Note<t indent="0" pn="section-3-4">Note that HTTPS and WebSockets are also offered to theJavascriptJavaScript application through browser APIs.</t><t>As<t indent="0" pn="section-3-5">As for all protocol and API specifications, there is no restriction that the protocols can only be used to talk to another browser; since they are fully specified, any endpoint that implements the protocols faithfully should be able to interoperate with the application running in the browser.</t><t>A<t indent="0" pn="section-3-6">A commonly imagined model of deployment isthe onedepictedbelow. In the figure below JS is Javascript.</t>in <xref target="fig-webtrapezoid" format="default" sectionFormat="of" derivedContent="Figure 2"/>. ("JS" stands for JavaScript.)</t> <figure anchor="fig-webtrapezoid"title="Browseralign="left" suppress-title="false" pn="figure-2"> <name slugifiedName="name-browser-rtc-trapezoid">Browser RTCTrapezoid"> <artwork><![CDATA[Trapezoid</name> <artwork name="" type="" align="left" alt="" pn="section-3-7.1"> +-----------+ +-----------+ | Web | | Web | | |Signaling| | ||-------------||------------------| | | Server |pathSignaling Path | Server | | | | | +-----------+ +-----------+ / \ / \ Application-defined / \ over / \ HTTPS/WebSockets / Application-defined over \ / HTTPS/WebSockets \ / \ +-----------+ +-----------+ |JS/HTML/CSS| |JS/HTML/CSS| +-----------+ +-----------+ +-----------+ +-----------+ | | | | | | | | | Browser| ------------------------- ||--------------------------------| Browser | | | MediapathPath | | | | | | +-----------+ +-----------+]]></artwork></artwork> </figure><t>On<t indent="0" pn="section-3-8">In this drawing, the critical part to note is that the media path ("low path") goes directly between the browsers, so it has to be conformant to the specifications of the WebRTC protocol suite; the signaling path ("high path") goes via servers that can modify,translatetranslate, or manipulate the signals as needed.</t><t>If<t indent="0" pn="section-3-9">If the twoWebweb servers are operated by different entities, the inter-server signaling mechanism needs to be agreed upon,eitherby either standardization orbyother means of agreement. Existing protocols(e.g.(e.g., SIP <xreftarget="RFC3261"/>target="RFC3261" format="default" sectionFormat="of" derivedContent="RFC3261"/> orXMPPthe Extensible Messaging and Presence Protocol (XMPP) <xreftarget="RFC6120"/>)target="RFC6120" format="default" sectionFormat="of" derivedContent="RFC6120"/>) could be used between servers, while either a standards-based or proprietary protocol could be used between the browser and the web server.</t><t>For<t indent="0" pn="section-3-10">For example, if both operators' servers implement SIP, SIP could be used for communication between servers, along with either a standardized signaling mechanism(e.g.(e.g., SIP over WebSockets) or a proprietary signaling mechanism used between the application running in the browser and the web server. Similarly, if both operators' servers implementExtensible Messaging and Presence Protocol (XMPP),XMPP, XMPP could be used for communication between XMPP servers, with either a standardized signaling mechanism(e.g.(e.g., XMPP over WebSockets orBOSH <xref target="XEP-0124"/>Bidirectional-streams Over Synchronous HTTP (BOSH) <xref target="XEP-0124" format="default" sectionFormat="of" derivedContent="XEP-0124"/>) or a proprietary signaling mechanism used between the application running in the browser and the web server.</t><t>The<t indent="0" pn="section-3-11">The choice of protocols for client-server and inter-serversignalling,signaling, and the definition of the translation between them,isare outside the scope of the WebRTC protocol suite described inthethis document.</t><t>The<t indent="0" pn="section-3-12">The functionality groups that are needed in the browser can be specified, more or less from the bottom up, as:</t><t><list style="symbols"> <t>Data transport: such as TCP, UDP<dl newline="false" spacing="normal" indent="3" pn="section-3-13"> <dt pn="section-3-13.1">Data transport:</dt> <dd pn="section-3-13.2">For example, TCP and UDP, and the means to securely set up connections between entities, as well as the functions for deciding when to send data: congestion management, bandwidthestimationestimation, and soon.</t> <t>Data framing: RTP, SCTP,on.</dd> <dt pn="section-3-13.3">Data framing:</dt> <dd pn="section-3-13.4">RTP, the Stream Control Transmission Protocol (SCTP), DTLS, and other data formats that serve as containers, and their functions for data confidentiality andintegrity.</t> <t>Data formats: Codecintegrity.</dd> <dt pn="section-3-13.5">Data formats:</dt> <dd pn="section-3-13.6">Codec specifications, formatspecificationsspecifications, and functionality specifications for the data passed between systems. Audio and video codecs, as well as formats for data and document sharing, belong in this category. In order to make use of data formats, a way to describethem,them (e.g., a sessiondescription,description) isneeded.</t> <t>Connection management: Settingneeded.</dd> <dt pn="section-3-13.7">Connection management:</dt> <dd pn="section-3-13.8">For example, setting up connections, agreeing on data formats, changing data formats during the duration of acall;call. SDP, SIP, and Jingle/XMPP belong in thiscategory.</t> <t>Presentation and control: Whatcategory.</dd> <dt pn="section-3-13.9">Presentation and control:</dt> <dd pn="section-3-13.10">What needs to happen in order to ensure that interactions behave ina non-surprisingan unsurprising manner. This can include floor control, screen layout,voice activatedvoice-activated imageswitchingswitching, and other suchfunctions -functions, where part of the systemrequire therequires cooperation between parties.XCON and Cisco/Tandberg's TIPCentralized Conferencing (XCON) <xref target="RFC6501" format="default" sectionFormat="of" derivedContent="RFC6501"/> and Cisco/Tandberg's Telepresence Interoperability Protocol (TIP) were some attempts at specifying this kind of functionality; many applications have been built without standardized interfaces to thesefunctions.</t> <t>Localfunctions.</dd> <dt pn="section-3-13.11">Local system supportfunctions: These are thingsfunctions:</dt> <dd pn="section-3-13.12">Functions that need not be specified uniformly, because each participant maychoose to doimplement thesein a way of the participant's choosing,functions as they choose, without affecting the bits on the wire in a way that others have to be cognizant of. Examples in this category include echo cancellation (some forms of it), local authentication and authorization mechanisms, OS accesscontrolcontrol, and the ability to do local recording ofconversations.</t> </list>Withinconversations.</dd> </dl> <t indent="0" pn="section-3-14">Within each functionality group, it is important to preserve both freedom to innovate and the ability for global communication. Freedom to innovate is helped by doing the specification in terms of interfaces, not implementation; any implementation able to communicate according to the interfaces is a valid implementation.AbilityThe ability to communicate globally is helpedbothby both (1) having core specifications be unencumbered by IPR issues andby(2) having the formats and protocols be fully enough specified to allow for independent implementation.</t><t>One<t indent="0" pn="section-3-15">One can think of thethreefirst three groups as forming a "media transportinfrastructure",infrastructure" and of thethreelast three groups as forming a "media service". In many contexts, it makes sense to use a common specification for the media transport infrastructure, which can be embedded in browsers and accessed using standard interfaces, and "let a thousand flowers bloom" in the "media service" layer; to achieve interoperable services, however, at least the first five of the six groups need to be specified.</t> </section> <section anchor="ch-transport"title="Data transport"> <t>Datanumbered="true" toc="include" removeInRFC="false" pn="section-4"> <name slugifiedName="name-data-transport">Data Transport</name> <t indent="0" pn="section-4-1">Data transport refers to the sending and receiving of data over the network interfaces, the choice of network-layer addresses at each end of the communication, and the interaction with any intermediate entities that handle thedata,data but do not modify it (such asTURNTraversal Using Relays around NAT (TURN) relays).</t><t>It<t indent="0" pn="section-4-2">It includes necessary functions for congestion control, retransmission, and in-order delivery.</t><t>WebRTC<t indent="0" pn="section-4-3">WebRTC endpointsMUST<bcp14>MUST</bcp14> implement the transport protocols described in <xreftarget="I-D.ietf-rtcweb-transports"/>.</t>target="RFC8835" format="default" sectionFormat="of" derivedContent="RFC8835"/>.</t> </section> <sectiontitle="Data framingnumbered="true" toc="include" removeInRFC="false" pn="section-5"> <name slugifiedName="name-data-framing-and-securing">Data Framing andsecuring"> <t>TheSecuring</name> <t indent="0" pn="section-5-1">The format for media transport is RTP <xreftarget="RFC3550"/>.target="RFC3550" format="default" sectionFormat="of" derivedContent="RFC3550"/>. Implementation ofSRTPthe Secure Real-time Transport Protocol (SRTP) <xreftarget="RFC3711"/>target="RFC3711" format="default" sectionFormat="of" derivedContent="RFC3711"/> isREQUIRED<bcp14>REQUIRED</bcp14> for all implementations.</t><t>The<t indent="0" pn="section-5-2">The detailed considerations for usage of functions from RTP and SRTP are given in <xreftarget="I-D.ietf-rtcweb-rtp-usage"/>.target="RFC8834" format="default" sectionFormat="of" derivedContent="RFC8834"/>. The security considerations for the WebRTC use case are provided in <xreftarget="I-D.ietf-rtcweb-security"/>,target="RFC8826" format="default" sectionFormat="of" derivedContent="RFC8826"/>, and the resulting security functions are described in <xreftarget="I-D.ietf-rtcweb-security-arch"/>.</t> <t>Considerationstarget="RFC8827" format="default" sectionFormat="of" derivedContent="RFC8827"/>.</t> <t indent="0" pn="section-5-3">Considerations for the transfer of data that is not in RTP formatisare described in <xreftarget="I-D.ietf-rtcweb-data-channel"/>,target="RFC8831" format="default" sectionFormat="of" derivedContent="RFC8831"/>, and a supporting protocol for establishing individual data channels is described in <xreftarget="I-D.ietf-rtcweb-data-protocol"/>.target="RFC8832" format="default" sectionFormat="of" derivedContent="RFC8832"/>. WebRTC endpointsMUST<bcp14>MUST</bcp14> implement these two specifications.</t><t>WebRTC<t indent="0" pn="section-5-4">WebRTC endpointsMUST<bcp14>MUST</bcp14> implement <xreftarget="I-D.ietf-rtcweb-rtp-usage"/>, <xref target="I-D.ietf-rtcweb-security"/>, <xref target="I-D.ietf-rtcweb-security-arch"/>,target="RFC8834" format="default" sectionFormat="of" derivedContent="RFC8834"/>, <xref target="RFC8826" format="default" sectionFormat="of" derivedContent="RFC8826"/>, <xref target="RFC8827" format="default" sectionFormat="of" derivedContent="RFC8827"/>, and the requirements they include.</t> </section> <section anchor="ch-data"title="Data formats"> <t>Thenumbered="true" toc="include" removeInRFC="false" pn="section-6"> <name slugifiedName="name-data-formats">Data Formats</name> <t indent="0" pn="section-6-1">The intent of this specification is to allow each communications event to use the data formats that are best suited for that particular instance, where a format is supported by both sides of the connection. However, a minimum standard is greatly helpful in order to ensure that communication can be achieved. This document specifies a minimum baseline that will be supported by all implementations of thisspecification,specification and leaves further codecs to be included at the will of theimplementor.</t> <t>WebRTCimplementer.</t> <t indent="0" pn="section-6-2">WebRTC endpoints that support audio and/or videoMUST<bcp14>MUST</bcp14> implement the codecs and profiles required in <xreftarget="RFC7874"/>target="RFC7874" format="default" sectionFormat="of" derivedContent="RFC7874"/> and <xreftarget="RFC7742"/>.</t>target="RFC7742" format="default" sectionFormat="of" derivedContent="RFC7742"/>.</t> </section> <sectiontitle="Connection management"> <t>Thenumbered="true" toc="include" removeInRFC="false" pn="section-7"> <name slugifiedName="name-connection-management">Connection Management</name> <t indent="0" pn="section-7-1">The methods,mechanismsmechanisms, and requirements for setting up,negotiatingnegotiating, and tearing down connectionsiscomprise a large subject, and one where it is desirable to have both interoperability and freedom to innovate.</t><t>The<t indent="0" pn="section-7-2">The following principles apply:</t><t><list style="numbers"> <t>The<ol spacing="normal" type="1" indent="adaptive" start="1" pn="section-7-3"> <li pn="section-7-3.1" derivedCounter="1.">The WebRTC media negotiations will be capable of representing the same SDP offer/answer semantics <xreftarget="RFC3264"/>target="RFC3264" format="default" sectionFormat="of" derivedContent="RFC3264"/> that are used in SIP, in such a way that it is possible to build a signaling gateway between SIP and the WebRTC medianegotiation.</t> <t>Itnegotiation.</li> <li pn="section-7-3.2" derivedCounter="2.">It will be possible to gateway between legacy SIP devices that support ICE and appropriateRTP / SDPRTP/SDP mechanisms,codecscodecs, and security mechanisms without using a media gateway. A signaling gateway to convert between the signaling on the web sidetoand the SIP signaling may beneeded.</t> <t>Whenneeded.</li> <li pn="section-7-3.3" derivedCounter="3.">When an SDP for a new codec is specified, no other standardization should be required for it to be possible to use that codec in the web browsers. Adding new codecswhichthat might have new SDP parameters should not change the APIs between the browser andJavascriptthe JavaScript application. As soon as the browsers support the new codecs, old applications written before the codecs were specified should automatically be able to use the new codecs whereappropriateappropriate, with no changes to theJS applications.</t> </list>TheJavaScript applications.</li> </ol> <t indent="0" pn="section-7-4">The particular choices made for WebRTC, and their implications for the API offered by a browser implementing WebRTC, are described in <xreftarget="I-D.ietf-rtcweb-jsep"/>.</t> <t>WebRTCtarget="RFC8829" format="default" sectionFormat="of" derivedContent="RFC8829"/>.</t> <t indent="0" pn="section-7-5">WebRTC browsersMUST<bcp14>MUST</bcp14> implement <xreftarget="I-D.ietf-rtcweb-jsep"/>.</t> <t>WebRTCtarget="RFC8829" format="default" sectionFormat="of" derivedContent="RFC8829"/>.</t> <t indent="0" pn="section-7-6">WebRTC endpointsMUST<bcp14>MUST</bcp14> implementthethose functions described inthat document<xref target="RFC8829" format="default" sectionFormat="of" derivedContent="RFC8829"/> that relate to the network layer(e.g. Bundle(e.g., BUNDLE <xreftarget="I-D.ietf-mmusic-sdp-bundle-negotiation"/>, RTCP-mux <xref target="RFC5761"/>target="RFC8843" format="default" sectionFormat="of" derivedContent="RFC8843"/>, "rtcp-mux" <xref target="RFC5761" format="default" sectionFormat="of" derivedContent="RFC5761"/>, and Trickle ICE <xreftarget="I-D.ietf-ice-trickle"/>),target="RFC8838" format="default" sectionFormat="of" derivedContent="RFC8838"/>), but these endpoints do not need to support the API functionality describedthere.</t>in <xref target="RFC8829" format="default" sectionFormat="of" derivedContent="RFC8829"/>.</t> </section> <sectiontitle="Presentationnumbered="true" toc="include" removeInRFC="false" pn="section-8"> <name slugifiedName="name-presentation-and-control">Presentation andcontrol"> <t>TheControl</name> <t indent="0" pn="section-8-1">The most important part of control is theuser'susers' control over the browser's interaction with input/output devices and communications channels. It is important that theuserusers have some way of figuring out wherehistheir audio,videovideo, or texting is beingsent,sent; for what purportedreason,reason; and what guarantees are made by the parties that form part of this control channel. This is largely a local function between the browser, the underlying operatingsystemsystem, and the user interface; this is specified in the peer connection API <xreftarget="W3C.WD-webrtc-20120209"/>,target="W3C.WD-webrtc" format="default" sectionFormat="of" derivedContent="W3C.WD-webrtc"/> and the media capture API <xreftarget="W3C.WD-mediacapture-streams-20120628"/>.</t> <t>WebRTCtarget="W3C.WD-mediacapture-streams" format="default" sectionFormat="of" derivedContent="W3C.WD-mediacapture-streams"/>.</t> <t indent="0" pn="section-8-2">WebRTC browsersMUST<bcp14>MUST</bcp14> implement these two specifications.</t> </section> <sectiontitle="Local system support functions"> <t>Thesenumbered="true" toc="include" removeInRFC="false" pn="section-9"> <name slugifiedName="name-local-system-support-functi">Local System Support Functions</name> <t indent="0" pn="section-9-1">These functions are characterized by the fact that the quality ofthese functionsan implementation stronglyinfluenceinfluences the user experience, but the exact algorithm does not need coordination. In some cases (forinstanceinstance, echo cancellation, as described below), the overall system definition may need to specify that the overall system needs to have some characteristics for which these facilities are useful, without requiring them to be implemented a certain way.</t><t>Local<t indent="0" pn="section-9-2">Local functions include echocancellation,cancellation; volumecontrol,control; cameramanagementmanagement, including focus, zoom, and pan/tilt controls (ifavailable),available); and more.</t><t>One<t indent="0" pn="section-9-3">One would want to see certain parts of the system conform to certainproperties,properties; for instance:</t><t><list style="symbols"> <t>Echo<ul spacing="normal" bare="false" empty="false" indent="3" pn="section-9-4"> <li pn="section-9-4.1">Echo cancellation should be good enough to achieve the suppression of acoustical feedback loops below a perceptually noticeablelevel.</t> <t>Privacylevel.</li> <li pn="section-9-4.2">Privacy concernsMUST<bcp14>MUST</bcp14> be satisfied; for instance, if remote control of a camera is offered, the APIs should be available to let the local participant figure out who's controlling thecamera,camera and possibly decide to revoke the permission for camerausage.</t> <t>Automatic gain control,usage.</li> <li pn="section-9-4.3">Automatic Gain Control (AGC), if present, should normalize a speaking voice into a reasonable dBrange.</t> </list>Therange.</li> </ul> <t indent="0" pn="section-9-5">The requirements on WebRTC systems with regard to audio processing are found in <xreftarget="RFC7874"/>target="RFC7874" format="default" sectionFormat="of" derivedContent="RFC7874"/>, and that document includes more guidance about echo cancellation and AGC; theproposed APIAPIs for control of local devices are found in <xreftarget="W3C.WD-mediacapture-streams-20120628"/>.</t> <t>WebRTCtarget="W3C.WD-mediacapture-streams" format="default" sectionFormat="of" derivedContent="W3C.WD-mediacapture-streams"/>.</t> <t indent="0" pn="section-9-6">WebRTC endpointsMUST<bcp14>MUST</bcp14> implement the processing functions in <xreftarget="RFC7874"/>.target="RFC7874" format="default" sectionFormat="of" derivedContent="RFC7874"/>. (Together with the requirement in <xreftarget="ch-data"/>,target="ch-data" format="default" sectionFormat="of" derivedContent="Section 6"/>, this means that WebRTC endpointsMUST<bcp14>MUST</bcp14> implement the whole document.)</t> </section> <section anchor="IANA"title="IANA Considerations"> <t>Thisnumbered="true" toc="include" removeInRFC="false" pn="section-10"> <name slugifiedName="name-iana-considerations">IANA Considerations</name> <t indent="0" pn="section-10-1">This documentmakeshas norequest of IANA.</t> <t>Note to RFC Editor: this section may be removed on publication as an RFC.</t>IANA actions.</t> </section> <section anchor="Security"title="Security Considerations"> <t>Securitynumbered="true" toc="include" removeInRFC="false" pn="section-11"> <name slugifiedName="name-security-considerations">Security Considerations</name> <t indent="0" pn="section-11-1">Security of the web-enabledreal timereal-time communications comes in several pieces:</t><t><list style="symbols"> <t>Security<dl newline="false" spacing="normal" indent="3" pn="section-11-2"> <dt pn="section-11-2.1">Security of thecomponents: Thecomponents:</dt> <dd pn="section-11-2.2">The browsers, and other servers involved. The most target-rich environment here is probably the browser; the aim here should be that the introduction of these components introduces no additionalvulnerability.</t> <t>Securityvulnerability.</dd> <dt pn="section-11-2.3">Security of the communicationchannels: Itchannels:</dt> <dd pn="section-11-2.4">It should be easy fora participantparticipants to reassurehimselfthemselves of the security ofhistheir communication--- by verifying the crypto parameters of the linkshe himself participatesthat they participate in, and to get reassurances from the other parties to the communication thattheythose parties promise that appropriate measures aretaken.</t> <t>Securitytaken.</dd> <dt pn="section-11-2.5">Security of the partners'identity: verifyingidentities:</dt> <dd pn="section-11-2.6">Verifying that the participants are who they say they are (when positive identification isappropriate),appropriate) or that theiridentityidentities cannot be uncovered (when anonymity is a goal of theapplication).</t> </list>Theapplication).</dd> </dl> <t indent="0" pn="section-11-3">The security analysis, and the requirements derived from that analysis,isare contained in <xreftarget="I-D.ietf-rtcweb-security"/>.</t> <t>Ittarget="RFC8826" format="default" sectionFormat="of" derivedContent="RFC8826"/>.</t> <t indent="0" pn="section-11-4">It is also important to read the security sections of <xreftarget="W3C.WD-mediacapture-streams-20120628"/>target="W3C.WD-mediacapture-streams" format="default" sectionFormat="of" derivedContent="W3C.WD-mediacapture-streams"/> and <xreftarget="W3C.WD-webrtc-20120209"/>.</t> </section> <section anchor="Acknowledgements" title="Acknowledgements"> <t>The number of people who have taken part in the discussions surrounding this draft are too numerous to list, or even to identify. The ones below have made special, identifiable contributions; this does not mean that others' contributions are less important.</t> <t>Thanks to Cary Bran, Cullen Jennings, Colin Perkins, Magnus Westerlund and Joerg Ott, who offered technical contributions on various versions of the draft.</t> <t>Thanks to Jonathan Rosenberg, Matthew Kaufman and others at Skype for the ASCII drawings in section 1.</t> <t>Thanks to Alissa Cooper, Bjoern Hoehrmann, Colin Perkins, Colton Shields, Eric Rescorla, Heath Matlock, Henry Sinnreich, Justin Uberti, Keith Drage, Magnus Westerlund, Olle E. Johansson, Sean Turner and Simon Leinen for document review.</t>target="W3C.WD-webrtc" format="default" sectionFormat="of" derivedContent="W3C.WD-webrtc"/>.</t> </section> </middle> <back> <displayreference target="I-D.ietf-rtcweb-gateways" to="WebRTC-Gateways"/> <referencestitle="Normative References"> <?rfc include='reference.RFC.2119'?> <?rfc include='reference.RFC.3550'?> <?rfc include='reference.RFC.3264'?> <?rfc include='reference.RFC.3711'?> <?rfc include='reference.RFC.5245'?> <?rfc include='reference.RFC.7742'?> <?rfc include='reference.RFC.7874'?> <?rfc include='reference.I-D.ietf-rtcweb-security'?> <?rfc include='reference.I-D.ietf-rtcweb-transports'?> <?rfc include='reference.I-D.ietf-rtcweb-rtp-usage'?> <?rfc include='reference.I-D.ietf-rtcweb-data-channel'?> <?rfc include='reference.I-D.ietf-rtcweb-data-protocol'?> <?rfc include='reference.I-D.ietf-rtcweb-security-arch'?> <?rfc include='reference.I-D.ietf-rtcweb-jsep'?> <?rfc include='reference.W3C.WD-webrtc-20120209'?> <?rfc include='reference.W3C.WD-mediacapture-streams-20120628'?> <?rfc ?> </references>pn="section-12"> <name slugifiedName="name-references">References</name> <referencestitle="Informative References"> <?rfc include='reference.RFC.3935'?> <?rfc include='reference.RFC.3261'?> <?rfc include='reference.RFC.3361'?> <?rfc include='reference.RFC.5761'?> <?rfc include='reference.RFC.6120'?> <?rfc include='reference.RFC.7478'?> <?rfc include='reference.RFC.8155'?> <?rfc include='reference.W3C.WD-html5-20110525'?> <?rfc include='reference.I-D.ietf-ice-trickle'?> <?rfc include='reference.I-D.ietf-mmusic-sdp-bundle-negotiation'?> <?rfc include='reference.I-D.ietf-rtcweb-gateways'?> <?rfc include='reference.I-D.ietf-tsvwg-rtcweb-qos'?>pn="section-12.1"> <name slugifiedName="name-normative-references">Normative References</name> <referenceanchor="XEP-0166">anchor="RFC2119" target="https://www.rfc-editor.org/info/rfc2119" quoteTitle="true" derivedAnchor="RFC2119"> <front><title>Jingle</title><title>Key words for use in RFCs to Indicate Requirement Levels</title> <authorfullname="Scott Ludwig"initials="S."surname="Ludwig"> <organization/> <address> <email>scottlu@google.com</email> </address> </author> <author fullname="Joe Beda" initials="J." surname="Beda"> <organization/> <address> <email>jbeda@google.com</email> </address> </author> <author fullname="Peter Saint-Andre" initials="P." surname="Saint-Andre"> <organization/> <address> <email>stpeter@jabber.org</email> </address> </author> <author fullname="Robert McQueen" initials="R." surname="McQueen"> <organization/> <address> <email>robert.mcqueen@collabora.co.uk</email> </address> </author> <author fullname="Sean Egan" initials="S." surname="Egan"> <organization/> <address> <email>seanegan@google.com</email> </address> </author> <author fullname="Joe Hildebrand" initials="J." surname="Hildebrand"> <organization/> <address> <email>jhildebr@cisco.com</email> </address>surname="Bradner" fullname="S. Bradner"> <organization showOnFrontPage="true"/> </author> <dateday="20" month="June" year="2007"/>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> <seriesInfoname="XSF XEP" value="0166"/> <format target="http://xmpp.org/extensions/xep-0166.html" type="HTML"/>name="BCP" value="14"/> <seriesInfo name="RFC" value="2119"/> <seriesInfo name="DOI" value="10.17487/RFC2119"/> </reference> <referenceanchor="XEP-0124">anchor="RFC3264" target="https://www.rfc-editor.org/info/rfc3264" quoteTitle="true" derivedAnchor="RFC3264"> <front><title>BOSH</title> <author fullname="Ian Paterson" initials="I." surname="Paterson"> <organization/> <address> <email>ian.paterson@clientside.co.uk</email> </address> </author> <author fullname="Dave Smith" initials="D." surname="Smith"> <organization/> <address> <email>dizzyd@jabber.org</email> </address> </author> <author fullname="Peter Saint-Andre" initials="P." surname="Saint-Andre"> <organization/> <address> <email>stpeter@jabber.org</email> </address> </author><title>An Offer/Answer Model with Session Description Protocol (SDP)</title> <authorfullname="Jack Moffitt"initials="J."surname="Moffitt"> <organization/> <address> <email>jack@chesspark.com</email> </address> </author> <author fullname="Lance Stout" initials="L." surname="Stout"> <organization/> <address> <email>lance@andyet.com</email> </address>surname="Rosenberg" fullname="J. Rosenberg"> <organization showOnFrontPage="true"/> </author> <authorfullname="Winifried Tilanus" initials="W." surname="Tilanus"> <organization/> <address> <email>winfried@tilanus.com</email> </address>initials="H." surname="Schulzrinne" fullname="H. Schulzrinne"> <organization showOnFrontPage="true"/> </author> <dateday="16" month="November" year="2016"/> </front> <seriesInfo name="XSF XEP" value="0124"/> <format target="http://xmpp.org/extensions/xep-0124.html" type="HTML"/> </reference> </references> <section title="Change log"> <t>This section may be deletedyear="2002" month="June"/> <abstract> <t indent="0">This document defines a mechanism by which two entities can make use of theRFC Editor when preparing for publication.</t> <section title="Changes from draft-alvestrand-dispatch-rtcweb-datagram-00 to -01"> <t>Added section "On interoperability and innovation"</t> <t>Added data confidentiality and integritySession Description Protocol (SDP) to arrive at a common view of a multimedia session between them. In the"data framing" layer</t> <t>Added congestion management requirements inmodel, one participant offers the"data transport" layer section</t> <t>Changed need for non-media data from "question: do we need this?" to "Open issue: How do we do this?"</t> <t>Strengthened disclaimer that listed codecs are placeholders, not decisions.</t> <t>More details on whyother a description of the"local system support functions" section is there.</t> </section> <section title="Changesdesired session fromdraft-alvestrand-dispatch-01 to draft-alvestrand-rtcweb-overview-00"> <t>Added section on "Relationship between APItheir perspective, andprotocol"</t> <t>Added terminology section</t> <t>Mentioned congestion management as part ofthe"data transport" layer inother participant answers with thelayer list</t> </section> <section title="Changesdesired session fromdraft-alvestrand-rtcweb-00 to -01"> <t>Removedtheir perspective. This offer/answer model is mosttechnical content, and replaced with pointers to drafts as requested and identifieduseful 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 theRTCWEB WG chairs.</t> <t>Added content to acknowledgments section.</t> <t>Added change log.</t> <t>Spell-checked document.</t> </section> <section title="Changes from draft-alvestrand-rtcweb-overview-01 to draft-ietf-rtcweb-overview-00"> <t>Changed draft nameSession Initiation Protocol (SIP). [STANDARDS-TRACK]</t> </abstract> </front> <seriesInfo name="RFC" value="3264"/> <seriesInfo name="DOI" value="10.17487/RFC3264"/> </reference> <reference anchor="RFC3550" target="https://www.rfc-editor.org/info/rfc3550" quoteTitle="true" derivedAnchor="RFC3550"> <front> <title>RTP: A Transport Protocol for Real-Time Applications</title> <author initials="H." surname="Schulzrinne" fullname="H. Schulzrinne"> <organization showOnFrontPage="true"/> </author> <author initials="S." surname="Casner" fullname="S. Casner"> <organization showOnFrontPage="true"/> </author> <author initials="R." surname="Frederick" fullname="R. Frederick"> <organization showOnFrontPage="true"/> </author> <author initials="V." surname="Jacobson" fullname="V. Jacobson"> <organization showOnFrontPage="true"/> </author> <date year="2003" month="July"/> <abstract> <t indent="0">This memorandum describes RTP, the real-time transport protocol. RTP provides end-to-end network transport functions suitable for applications transmitting real-time data, such as audio, video or simulation data, over multicast or unicast network services. RTP does not address resource reservation anddocument date.</t> <t>Removed unused references</t> </section> <section title="Changes from -00does not guarantee quality-of- service for real-time services. The data transport is augmented by a control protocol (RTCP) to-01allow monitoring ofdraft-ietf-rtcweb-overview"> <t>Added architecture figures to section 2.</t> <t>Changedthedescription of "echo cancellation" under "local system support functions".</t> <t>Addeddata delivery in afew more definitions.</t> </section> <section title="Changes from -01manner scalable to-02 of draft-ietf-rtcweb-overview"> <t>Added pointerslarge multicast networks, and touse cases, securityprovide minimal control andrtp-usage drafts (now WG drafts).</t> <t>Changed description of SRTP from mandatory-to-useidentification functionality. RTP and RTCP are designed tomandatory-to-implement.</t> <t>Added the "3 principlesbe independent ofnegotiation" totheconnection management section.</t> <t>Added an explicit statement that ICE is required for both NATunderlying transport andconsent-to-receive.</t> </section> <section title="Changes from -02 to -03network layers. The protocol supports the use ofdraft-ietf-rtcweb-overview"> <t>Added references to a numberRTP-level translators and mixers. Most ofnew drafts.</t> <t>Expandedthedescriptiontextunderin this memorandum is identical to RFC 1889 which it obsoletes. There are no changes in the"trapezoid" drawing with some more text discussedpacket formats on thelist.</t> <t>Changed the "Connection management" sentence from "will be done using SDP offer/answer" to "will be capable of representing SDP offer/answer" - this seems more consistent with JSEP.</t> <t>Added "security mechanisms"wire, only changes to thethings a non-gatewayed SIP devices must support in orderrules and algorithms governing how the protocol is used. The biggest change is an enhancement tonot need a media gateway.</t> <t>Added a definitionthe scalable timer algorithm for"browser".</t> </section> <section title="Changes from -03calculating when to-04 of draft-ietf-rtcweb-overview"> <t>Made introduction more normative.</t> <t>Several wording changessend RTCP packets inresponse to review comments from EKR</t> <t>Added an appendixorder tohold references and notes that are not yetminimize transmission ina separate document.</t> </section> <section title="Changes from -04 to -05excess ofdraft-ietf-rtcweb-overview"> <t>Minor grammatical fixes. This is mainlythe intended rate when many participants join a"keepalive" refresh.</t> </section> <section title="Changes from -05 to -06"> <t>Clarifications in response to Last Call review comments. Inserted reference to draft-ietf-rtcweb-audio.</t> </section> <section title="Changes from -06 to -07"> <t>Addedsession simultaneously. [STANDARDS-TRACK]</t> </abstract> </front> <seriesInfo name="STD" value="64"/> <seriesInfo name="RFC" value="3550"/> <seriesInfo name="DOI" value="10.17487/RFC3550"/> </reference> <reference anchor="RFC3711" target="https://www.rfc-editor.org/info/rfc3711" quoteTitle="true" derivedAnchor="RFC3711"> <front> <title>The Secure Real-time Transport Protocol (SRTP)</title> <author initials="M." surname="Baugher" fullname="M. Baugher"> <organization showOnFrontPage="true"/> </author> <author initials="D." surname="McGrew" fullname="D. McGrew"> <organization showOnFrontPage="true"/> </author> <author initials="M." surname="Naslund" fullname="M. Naslund"> <organization showOnFrontPage="true"/> </author> <author initials="E." surname="Carrara" fullname="E. Carrara"> <organization showOnFrontPage="true"/> </author> <author initials="K." surname="Norrman" fullname="K. Norrman"> <organization showOnFrontPage="true"/> </author> <date year="2004" month="March"/> <abstract> <t indent="0">This document describes the Secure Real-time Transport Protocol (SRTP), areference toprofile of the"unified plan" draft,Real-time Transport Protocol (RTP), which can provide confidentiality, message authentication, andupdated some references.</t> <t>Otherwise, it's a "keepalive" draft.</t> </section> <section title="Changes from -07replay protection to-08"> <t>Removedtheappendix that detailed transports,RTP traffic andreplaced it with a reference to draft-ietf-rtcweb-transports. Removed now-unused references.</t> </section> <section title="Changes from -08 to -09"> <t>Added textto theAbstract indicating thatcontrol traffic for RTP, theintended status is an Applicability Statement.</t> <t/> </section> <section title="Changes from -09 to -10"> <t>Defined "WebRTC Browser"Real-time Transport Control Protocol (RTCP). [STANDARDS-TRACK]</t> </abstract> </front> <seriesInfo name="RFC" value="3711"/> <seriesInfo name="DOI" value="10.17487/RFC3711"/> </reference> <reference anchor="RFC7742" target="https://www.rfc-editor.org/info/rfc7742" quoteTitle="true" derivedAnchor="RFC7742"> <front> <title>WebRTC Video Processing and"WebRTC device" as things that do, or don't, conform toCodec Requirements</title> <author initials="A.B." surname="Roach" fullname="A.B. Roach"> <organization showOnFrontPage="true"/> </author> <date year="2016" month="March"/> <abstract> <t indent="0">This specification provides theAPI.</t> <t>Updated reference to data-protocol draft</t> <t>Updated data formats to reference -rtcweb-audio-requirements andnot the expired -cbran draft.</t> <t>Deleted references to -unified-plan</t> <t>Deleted reference to -generic-idp (draft expired)</t> <t>Added notes on which referenced documentsconsiderations for WebRTCbrowsers or devices MUST conform to.</t> <t>Added pointerapplications to send and receive video across a network. It specifies thesecurity section of the API drafts.</t> </section> <section title="Changes from -10 to -11"> <t>Added "WebRTC Gateway"video processing that is required asa third class of device,well as video codecs andreferenced the doc describing them.</t> <t>Made a number of text clarifications in response totheir parameters.</t> </abstract> </front> <seriesInfo name="RFC" value="7742"/> <seriesInfo name="DOI" value="10.17487/RFC7742"/> </reference> <reference anchor="RFC7874" target="https://www.rfc-editor.org/info/rfc7874" quoteTitle="true" derivedAnchor="RFC7874"> <front> <title>WebRTC Audio Codec and Processing Requirements</title> <author initials="JM." surname="Valin" fullname="JM. Valin"> <organization showOnFrontPage="true"/> </author> <author initials="C." surname="Bran" fullname="C. Bran"> <organization showOnFrontPage="true"/> </author> <date year="2016" month="May"/> <abstract> <t indent="0">This documentreviews.</t> </section> <section title="Changes from -11 to -12"> <t>Refined entity definitions to define "WebRTC endpoint"outlines the audio codec and"WebRTC-compatible endpoint".</t> <t>Changed remaining usageprocessing requirements for WebRTC endpoints.</t> </abstract> </front> <seriesInfo name="RFC" value="7874"/> <seriesInfo name="DOI" value="10.17487/RFC7874"/> </reference> <reference anchor="RFC8174" target="https://www.rfc-editor.org/info/rfc8174" quoteTitle="true" derivedAnchor="RFC8174"> <front> <title>Ambiguity ofthe term "RTCWEB" to "WebRTC", includingUppercase vs Lowercase inthe page header.</t> </section> <section title="Changes from -12 to -13"> <t>Changed "WebRTC device" toRFC 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"WebRTC non-browser", per decision at IETF 91.used in protocol specifications. Thisleddocument aims to reduce theneed for "WebRTC endpoint" asambiguity by clarifying that only UPPERCASE usage of thecommon labelkey 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> <reference anchor="RFC8826" target="https://www.rfc-editor.org/info/rfc8826" quoteTitle="true" derivedAnchor="RFC8826"> <front> <title>Security Considerations for WebRTC</title> <author initials="E." surname="Rescorla" fullname="Eric Rescorla"> <organization showOnFrontPage="true"/> </author> <date month="January" year="2021"/> </front> <seriesInfo name="RFC" value="8826"/> <seriesInfo name="DOI" value="10.17487/RFC8826"/> </reference> <reference anchor="RFC8827" target="https://www.rfc-editor.org/info/rfc8827" quoteTitle="true" derivedAnchor="RFC8827"> <front> <title>WebRTC Security Architecture</title> <author initials="E." surname="Rescorla" fullname="Eric Rescorla"> <organization showOnFrontPage="true"/> </author> <date month="January" year="2021"/> </front> <seriesInfo name="RFC" value="8827"/> <seriesInfo name="DOI" value="10.17487/RFC8827"/> </reference> <reference anchor="RFC8829" target="https://www.rfc-editor.org/info/rfc8829" quoteTitle="true" derivedAnchor="RFC8829"> <front> <title>JavaScript Session Establishment Protocol (JSEP)</title> <author initials="J." surname="Uberti" fullname="Justin Uberti"> <organization showOnFrontPage="true"/> </author> <author initials="C." surname="Jennings" fullname="Cullen Jennings"> <organization showOnFrontPage="true"/> </author> <author initials="E." surname="Rescorla" fullname="Eric Rescorla" role="editor"> <organization showOnFrontPage="true"/> </author> <date month="January" year="2021"/> </front> <seriesInfo name="RFC" value="8829"/> <seriesInfo name="DOI" value="10.17487/RFC8829"/> </reference> <reference anchor="RFC8831" target="https://www.rfc-editor.org/info/rfc8831" quoteTitle="true" derivedAnchor="RFC8831"> <front> <title>WebRTC Data Channels</title> <author initials="R" surname="Jesup" fullname="Randell Jesup"> <organization showOnFrontPage="true"/> </author> <author initials="S" surname="Loreto" fullname="Salvatore Loreto"> <organization showOnFrontPage="true"/> </author> <author initials="M" surname="Tüxen" fullname="Michael Tüxen"> <organization showOnFrontPage="true"/> </author> <date month="January" year="2021"/> </front> <seriesInfo name="RFC" value="8831"/> <seriesInfo name="DOI" value="10.17487/RFC8831"/> </reference> <reference anchor="RFC8832" target="https://www.rfc-editor.org/info/rfc8832" quoteTitle="true" derivedAnchor="RFC8832"> <front> <title>WebRTC Data Channel Establishment Protocol</title> <author initials="R." surname="Jesup" fullname="Randell Jesup"> <organization showOnFrontPage="true"/> </author> <author initials="S." surname="Loreto" fullname="Salvatore Loreto"> <organization showOnFrontPage="true"/> </author> <author initials="M" surname="Tüxen" fullname="Michael Tüxen"> <organization showOnFrontPage="true"/> </author> <date month="January" year="2021"/> </front> <seriesInfo name="RFC" value="8832"/> <seriesInfo name="DOI" value="10.17487/RFC8832"/> </reference> <reference anchor="RFC8834" target="https://www.rfc-editor.org/info/rfc8834" quoteTitle="true" derivedAnchor="RFC8834"> <front> <title>Media Transport and Use of RTP in WebRTC</title> <author initials="C." surname="Perkins" fullname="Colin Perkins"> <organization showOnFrontPage="true"/> </author> <author initials="M." surname="Westerlund" fullname="Magnus Westerlund"> <organization showOnFrontPage="true"/> </author> <author initials="J." surname="Ott" fullname="Jörg Ott"> <organization showOnFrontPage="true"/> </author> <date month="January" year="2021"/> </front> <seriesInfo name="RFC" value="8834"/> <seriesInfo name="DOI" value="10.17487/RFC8834"/> </reference> <reference anchor="RFC8835" target="https://www.rfc-editor.org/info/rfc8835" quoteTitle="true" derivedAnchor="RFC8835"> <front> <title>Transports for WebRTC</title> <author initials="H." surname="Alvestrand" fullname="Harald Alvestrand"> <organization showOnFrontPage="true"/> </author> <date month="January" year="2021"/> </front> <seriesInfo name="RFC" value="8835"/> <seriesInfo name="DOI" value="10.17487/RFC8835"/> </reference> <reference anchor="W3C.WD-mediacapture-streams" target="https://www.w3.org/TR/mediacapture-streams/" quoteTitle="true" derivedAnchor="W3C.WD-mediacapture-streams"> <front> <title>Media Capture and Streams</title> <author initials="C." surname="Jennings" fullname="Cullen Jennings"> <organization showOnFrontPage="true"/> </author> <author initials="B." surname="Aboba" fullname="Bernard Aboba"> <organization showOnFrontPage="true"/> </author> <author initials="J-I." surname="Bruaroey" fullname="Jan-Ivar Bruaroey"> <organization showOnFrontPage="true"/> </author> <author initials="H." surname="Boström" fullname="Henrik Boström"> <organization showOnFrontPage="true"/> </author> <date/> </front> <refcontent>W3C Candidate Recommendation</refcontent> </reference> <reference anchor="W3C.WD-webrtc" target="https://www.w3.org/TR/webrtc/" quoteTitle="true" derivedAnchor="W3C.WD-webrtc"> <front> <title>WebRTC 1.0: Real-time Communication Between Browsers</title> <author initials="C." surname="Jennings" fullname="Cullen Jennings"> <organization showOnFrontPage="true"/> </author> <author initials="H." surname="Boström" fullname="Henrik Boström"> <organization showOnFrontPage="true"/> </author> <author initials="J-I." surname="Bruaroey" fullname="Jan-Ivar Bruaroey"> <organization showOnFrontPage="true"/> </author> <date/> </front> <refcontent>W3C Proposed Recommendation</refcontent> </reference> </references> <references pn="section-12.2"> <name slugifiedName="name-informative-references">Informative References</name> <reference anchor="HTML5" target="https://html.spec.whatwg.org/" quoteTitle="true" derivedAnchor="HTML5"> <front> <title>HTML - Living Standard</title> <author> <organization showOnFrontPage="true">WHATWG</organization> </author> <date month="January" year="2021"/> </front> </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="RFC3361" target="https://www.rfc-editor.org/info/rfc3361" quoteTitle="true" derivedAnchor="RFC3361"> <front> <title>Dynamic Host Configuration Protocol (DHCP-for-IPv4) Option for Session Initiation Protocol (SIP) Servers</title> <author initials="H." surname="Schulzrinne" fullname="H. Schulzrinne"> <organization showOnFrontPage="true"/> </author> <date year="2002" month="August"/> </front> <seriesInfo name="RFC" value="3361"/> <seriesInfo name="DOI" value="10.17487/RFC3361"/> </reference> <reference anchor="RFC3935" target="https://www.rfc-editor.org/info/rfc3935" quoteTitle="true" derivedAnchor="RFC3935"> <front> <title>A Mission Statement for the IETF</title> <author initials="H." surname="Alvestrand" fullname="H. Alvestrand"> <organization showOnFrontPage="true"/> </author> <date year="2004" month="October"/> <abstract> <t indent="0">This memo gives a mission statement for the IETF, tries to define the terms used in the statement sufficiently to make the mission statement understandable and useful, argues why the IETF needs a mission statement, and tries to capture some of the debate that led to this point. 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="95"/> <seriesInfo name="RFC" value="3935"/> <seriesInfo name="DOI" value="10.17487/RFC3935"/> </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="RFC5761" target="https://www.rfc-editor.org/info/rfc5761" quoteTitle="true" derivedAnchor="RFC5761"> <front> <title>Multiplexing RTP Data and Control Packets on a Single Port</title> <author initials="C." surname="Perkins" fullname="C. Perkins"> <organization showOnFrontPage="true"/> </author> <author initials="M." surname="Westerlund" fullname="M. Westerlund"> <organization showOnFrontPage="true"/> </author> <date year="2010" month="April"/> <abstract> <t indent="0">This memo discusses issues that arise when multiplexing RTP data packets and RTP Control Protocol (RTCP) packets on a single UDP port. It updates RFC 3550 and RFC 3551 to describe when such multiplexing is and is not appropriate, and it explains how the Session Description Protocol (SDP) can be used to signal multiplexed sessions. [STANDARDS-TRACK]</t> </abstract> </front> <seriesInfo name="RFC" value="5761"/> <seriesInfo name="DOI" value="10.17487/RFC5761"/> </reference> <reference anchor="RFC6120" target="https://www.rfc-editor.org/info/rfc6120" quoteTitle="true" derivedAnchor="RFC6120"> <front> <title>Extensible Messaging and Presence Protocol (XMPP): Core</title> <author initials="P." surname="Saint-Andre" fullname="P. Saint-Andre"> <organization showOnFrontPage="true"/> </author> <date year="2011" month="March"/> <abstract> <t indent="0">The Extensible Messaging and Presence Protocol (XMPP) is an application profile of the Extensible Markup Language (XML) that enables the near-real-time exchange of structured yet extensible data between any two or more network entities. This document defines XMPP's core protocol methods: setup and teardown of XML streams, channel encryption, authentication, error handling, and communication primitives for messaging, network availability ("presence"), and request-response interactions. This document obsoletes RFC 3920. [STANDARDS-TRACK]</t> </abstract> </front> <seriesInfo name="RFC" value="6120"/> <seriesInfo name="DOI" value="10.17487/RFC6120"/> </reference> <reference anchor="RFC6501" target="https://www.rfc-editor.org/info/rfc6501" quoteTitle="true" derivedAnchor="RFC6501"> <front> <title>Conference Information Data Model for Centralized Conferencing (XCON)</title> <author initials="O." surname="Novo" fullname="O. Novo"> <organization showOnFrontPage="true"/> </author> <author initials="G." surname="Camarillo" fullname="G. Camarillo"> <organization showOnFrontPage="true"/> </author> <author initials="D." surname="Morgan" fullname="D. Morgan"> <organization showOnFrontPage="true"/> </author> <author initials="J." surname="Urpalainen" fullname="J. Urpalainen"> <organization showOnFrontPage="true"/> </author> <date year="2012" month="March"/> <abstract> <t indent="0">RFC 5239 defines centralized conferencing (XCON) as an association of participants with a central focus. The state of a conference is represented by a conference object. This document defines an XML- based conference information data model to be used for conference objects. A conference information data model is designed to convey information about the conference and about participation in the conference. The conference information data model defined in this document constitutes an extension of the data format specified in the Session Initiation Protocol (SIP) event package for conference State. [STANDARDS-TRACK]</t> </abstract> </front> <seriesInfo name="RFC" value="6501"/> <seriesInfo name="DOI" value="10.17487/RFC6501"/> </reference> <reference anchor="RFC7478" target="https://www.rfc-editor.org/info/rfc7478" quoteTitle="true" derivedAnchor="RFC7478"> <front> <title>Web Real-Time Communication Use Cases and Requirements</title> <author initials="C." surname="Holmberg" fullname="C. Holmberg"> <organization showOnFrontPage="true"/> </author> <author initials="S." surname="Hakansson" fullname="S. Hakansson"> <organization showOnFrontPage="true"/> </author> <author initials="G." surname="Eriksson" fullname="G. Eriksson"> <organization showOnFrontPage="true"/> </author> <date year="2015" month="March"/> <abstract> <t indent="0">This document describes web-based real-time communication use cases. Requirements on the browser functionality are derived from the use cases.</t> <t indent="0">This document was developed in an initial phase of the work with rather minor updates at later stages. It has not really served as a tool in deciding features or scope forboth,the WG's efforts so far. It is being published to record the early conclusions of the WG. It will not be used as a set of rigid guidelines that specifications and implementations will be held to in theusagefuture.</t> </abstract> </front> <seriesInfo name="RFC" value="7478"/> <seriesInfo name="DOI" value="10.17487/RFC7478"/> </reference> <reference anchor="RFC8155" target="https://www.rfc-editor.org/info/rfc8155" quoteTitle="true" derivedAnchor="RFC8155"> <front> <title>Traversal Using Relays around NAT (TURN) Server Auto Discovery</title> <author initials="P." surname="Patil" fullname="P. Patil"> <organization showOnFrontPage="true"/> </author> <author initials="T." surname="Reddy" fullname="T. Reddy"> <organization showOnFrontPage="true"/> </author> <author initials="D." surname="Wing" fullname="D. Wing"> <organization showOnFrontPage="true"/> </author> <date year="2017" month="April"/> <abstract> <t indent="0">Current Traversal Using Relays around NAT (TURN) server discovery mechanisms are relatively static and limited to explicit configuration. These are usually under the administrative control of the application or TURN service provider, and not the enterprise, ISP, or the network in which the client is located. Enterprises and ISPs wishing to provide their own TURN servers need auto-discovery mechanisms that a TURN client could use with minimal or no configuration. This document describes three such mechanisms for TURN server discovery.</t> <t indent="0">This document updates RFC 5766 to relax the requirement for mutual authentication in certain cases.</t> </abstract> </front> <seriesInfo name="RFC" value="8155"/> <seriesInfo name="DOI" value="10.17487/RFC8155"/> </reference> <reference anchor="RFC8837" target="https://www.rfc-editor.org/info/rfc8837" quoteTitle="true" derivedAnchor="RFC8837"> <front> <title>Differentiated Services Code Point (DSCP) Packet Markings for WebRTC QoS</title> <author initials="P." surname="Jones" fullname="Paul Jones"> <organization showOnFrontPage="true"/> </author> <author initials="S." surname="Dhesikan" fullname="Subha Dhesikan"> <organization showOnFrontPage="true"/> </author> <author initials="C." surname="Jennings" fullname="Cullen Jennings"> <organization showOnFrontPage="true"/> </author> <author initials="D." surname="Druta" fullname="Dan Druta"> <organization showOnFrontPage="true"/> </author> <date month="January" year="2021"/> </front> <seriesInfo name="RFC" value="8837"/> <seriesInfo name="DOI" value="10.17487/RFC8837"/> </reference> <reference anchor="RFC8838" target="https://www.rfc-editor.org/info/rfc8838" quoteTitle="true" derivedAnchor="RFC8838"> <front> <title>Trickle ICE: Incremental Provisioning of Candidates for the Interactive Connectivity Establishment (ICE) Protocol</title> <author initials="E" surname="Ivov" fullname="Emil Ivov"> <organization showOnFrontPage="true"/> </author> <author initials="J" surname="Uberti" fullname="Justin Uberti"> <organization showOnFrontPage="true"/> </author> <author initials="P" surname="Saint-Andre" fullname="Peter Saint-Andre"> <organization showOnFrontPage="true"/> </author> <date month="January" year="2021"/> </front> <seriesInfo name="RFC" value="8838"/> <seriesInfo name="DOI" value="10.17487/RFC8838"/> </reference> <reference anchor="RFC8843" target="https://www.rfc-editor.org/info/rfc8843" quoteTitle="true" derivedAnchor="RFC8843"> <front> <title>Negotiating Media Multiplexing Using the Session Description Protocol (SDP)</title> <author initials="C" surname="Holmberg" fullname="Christer Holmberg"> <organization showOnFrontPage="true"/> </author> <author initials="H" surname="Alvestrand" fullname="Harald Alvestrand"> <organization showOnFrontPage="true"/> </author> <author initials="C" surname="Jennings" fullname="Cullen Jennings"> <organization showOnFrontPage="true"/> </author> <date month="January" year="2021"/> </front> <seriesInfo name="RFC" value="8843"/> <seriesInfo name="DOI" value="10.17487/RFC8843"/> </reference> <reference anchor="I-D.ietf-rtcweb-gateways" quoteTitle="true" target="https://tools.ietf.org/html/draft-ietf-rtcweb-gateways-02" derivedAnchor="WebRTC-Gateways"> <front> <title>WebRTC Gateways</title> <author initials="H" surname="Alvestrand" fullname="Harald T. Alvestrand"> <organization showOnFrontPage="true"/> </author> <author initials="U" surname="Rauschenbach" fullname="Uwe Rauschenbach"> <organization showOnFrontPage="true"/> </author> <date month="January" day="21" year="2016"/> <abstract> <t indent="0">This document describes interoperability considerations for a class of WebRTC-compatible endpoints called "WebRTC gateways", which interconnect between WebRTC endpoints and devices that are not WebRTC endpoints.</t> </abstract> </front> <seriesInfo name="Internet-Draft" value="draft-ietf-rtcweb-gateways-02"/> <format type="TXT" target="http://www.ietf.org/internet-drafts/draft-ietf-rtcweb-gateways-02.txt"/> <refcontent>Work in Progress</refcontent> </reference> <reference anchor="XEP-0124" target="https://xmpp.org/extensions/xep-0124.html" quoteTitle="true" derivedAnchor="XEP-0124"> <front> <title>Bidirectional-streams Over Synchronous HTTP (BOSH)</title> <author fullname="Ian Paterson" initials="I." surname="Paterson"> <organization showOnFrontPage="true"/> <address> <email>ian.paterson@clientside.co.uk</email> </address> </author> <author fullname="Dave Smith" initials="D." surname="Smith"> <organization showOnFrontPage="true"/> <address> <email>dizzyd@jabber.org</email> </address> </author> <author fullname="Peter Saint-Andre" initials="P." surname="Saint-Andre"> <organization showOnFrontPage="true"/> <address> <email>stpeter@jabber.org</email> </address> </author> <author fullname="Jack Moffitt" initials="J." surname="Moffitt"> <organization showOnFrontPage="true"/> <address> <email>jack@chesspark.com</email> </address> </author> <author fullname="Lance Stout" initials="L." surname="Stout"> <organization showOnFrontPage="true"/> <address> <email>lance@andyet.com</email> </address> </author> <author fullname="Winifried Tilanus" initials="W." surname="Tilanus"> <organization showOnFrontPage="true"/> <address> <email>winfried@tilanus.com</email> </address> </author> <date month="November" year="2016"/> </front> <seriesInfo name="XSF XEP" value="0124"/> </reference> <reference anchor="XEP-0166" target="https://xmpp.org/extensions/xep-0166.html" quoteTitle="true" derivedAnchor="XEP-0166"> <front> <title>Jingle</title> <author fullname="Scott Ludwig" initials="S." surname="Ludwig"> <organization showOnFrontPage="true"/> <address> <email>scottlu@google.com</email> </address> </author> <author fullname="Joe Beda" initials="J." surname="Beda"> <organization showOnFrontPage="true"/> <address> <email>jbeda@google.com</email> </address> </author> <author fullname="Peter Saint-Andre" initials="P." surname="Saint-Andre"> <organization showOnFrontPage="true"/> <address> <email>stpeter@jabber.org</email> </address> </author> <author fullname="Robert McQueen" initials="R." surname="McQueen"> <organization showOnFrontPage="true"/> <address> <email>robert.mcqueen@collabora.co.uk</email> </address> </author> <author fullname="Sean Egan" initials="S." surname="Egan"> <organization showOnFrontPage="true"/> <address> <email>seanegan@google.com</email> </address> </author> <author fullname="Joe Hildebrand" initials="J." surname="Hildebrand"> <organization showOnFrontPage="true"/> <address> <email>jhildebr@cisco.com</email> </address> </author> <date month="September" year="2018"/> </front> <seriesInfo name="XSF XEP" value="0166"/> </reference> </references> </references> <section anchor="Acknowledgements" numbered="false" toc="include" removeInRFC="false" pn="section-appendix.a"> <name slugifiedName="name-acknowledgements">Acknowledgements</name> <t indent="0" pn="section-appendix.a-1">The number ofthat termpeople who have taken part in therest of the document.</t> <t>Added words about WebRTC APIs in languages other than Javascript.</t> <t>Referenced draft-ietf-rtcweb-video for video codecs to support.</t> </section> <section title="Changes from -13discussions surrounding this document are too numerous to-14"> <t>None. This is a "keepalive" update.</t> </section> <section title="Changes from -14list, or even to-15"> <t>Changed "gateways" referenceidentify. The people listed below have made special, identifiable contributions; this does not mean that others' contributions are less important.</t> <t indent="0" pn="section-appendix.a-2">Thanks topoint<contact fullname="Cary Bran"/>, <contact fullname="Cullen Jennings"/>, <contact fullname="Colin Perkins"/>, <contact fullname="Magnus Westerlund"/>, and <contact fullname="Jörg Ott"/>, who offered technical contributions tothe WGvarious draft versions of this document.</t></section> <section title="Changes from -15 to -16"> <t>None. This is a "keepalive" publication.</t> </section> <section title="Changes from -16<t indent="0" pn="section-appendix.a-3">Thanks to-17"> <t>Addressed review comments by Olle E. Johansson<contact fullname="Jonathan Rosenberg"/>, <contact fullname="Matthew Kaufman"/>, andMagnus Westerlund</t> </section> <section title="Changes from -17others at Skype for the ASCII drawings in <xref target="arch-func-grps" format="default" sectionFormat="of" derivedContent="Section 3"/>.</t> <t indent="0" pn="section-appendix.a-4">Thanks to-18"> <t>Addressed review comments from Sean Turner<contact fullname="Alissa Cooper"/>, <contact fullname="Björn Höhrmann"/>, <contact fullname="Colin Perkins"/>, <contact fullname="Colton Shields"/>, <contact fullname="Eric Rescorla"/>, <contact fullname="Heath Matlock"/>, <contact fullname="Henry Sinnreich"/>, <contact fullname="Justin Uberti"/>, <contact fullname="Keith Drage"/>, <contact fullname="Magnus Westerlund"/>, <contact fullname="Olle E. Johansson"/>, <contact fullname="Sean Turner"/>, andAlissa Cooper</t> </section> <section title="Changes from -18 to -19"> <t>A number of grammatical issues were fixed.</t> <t>Added note on operational impact of WebRTC.</t> <t>Unified all definitions into the definitions list.</t> <t>Added a reference<contact fullname="Simon Leinen"/> forBOSH.</t> <t>Changed ICE reference from 5245bis to RFC 5245.</t>document review.</t> </section> <section anchor="authors-addresses" numbered="false" removeInRFC="false" toc="include" pn="section-appendix.b"> <name slugifiedName="name-authors-address">Author's Address</name> <author fullname="Harald T. Alvestrand" initials="H." surname="Alvestrand"> <organization showOnFrontPage="true">Google</organization> <address> <postal> <street>Kungsbron 2</street> <city>Stockholm</city> <region/> <code>11122</code> <country>Sweden</country> </postal> <email>harald@alvestrand.no</email> </address> </author> </section> </back> </rfc>