JavaScript Session Establishment Protocol
draft-ietf-rtcweb-jsep-26
Network Working Group J. Uberti
Internet-Draft Google
Intended status: Standards Track C. Jennings
Expires: August 31, 2019 Cisco
E. Rescorla, Ed.
Mozilla
February 27, 2019
JavaScript Session Establishment Protocol
draft-ietf-rtcweb-jsep-26
Abstract
This document describes the mechanisms for allowing a JavaScript
application to control the signaling plane of a multimedia session
via the interface specified in the W3C RTCPeerConnection API, and
discusses how this relates to existing signaling protocols.
Status of This Memo
This Internet-Draft is submitted in full conformance with the
provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet-
Drafts is at https://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress."
This Internet-Draft will expire on August 31, 2019.
Copyright Notice
Copyright (c) 2019 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(https://trustee.ietf.org/license-info) 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
Uberti, et al. Expires August 31, 2019 [Page 1]
Internet-Draft JSEP February 2019
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 4
1.1. General Design of JSEP . . . . . . . . . . . . . . . . . 4
1.2. Other Approaches Considered . . . . . . . . . . . . . . . 6
2. Terminology . . . . . . . . . . . . . . . . . . . . . . . . . 6
3. Semantics and Syntax . . . . . . . . . . . . . . . . . . . . 7
3.1. Signaling Model . . . . . . . . . . . . . . . . . . . . . 7
3.2. Session Descriptions and State Machine . . . . . . . . . 7
3.3. Session Description Format . . . . . . . . . . . . . . . 11
3.4. Session Description Control . . . . . . . . . . . . . . . 11
3.4.1. RtpTransceivers . . . . . . . . . . . . . . . . . . . 11
3.4.2. RtpSenders . . . . . . . . . . . . . . . . . . . . . 12
3.4.3. RtpReceivers . . . . . . . . . . . . . . . . . . . . 12
3.5. ICE . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.5.1. ICE Gathering Overview . . . . . . . . . . . . . . . 12
3.5.2. ICE Candidate Trickling . . . . . . . . . . . . . . . 13
3.5.2.1. ICE Candidate Format . . . . . . . . . . . . . . 13
3.5.3. ICE Candidate Policy . . . . . . . . . . . . . . . . 14
3.5.4. ICE Candidate Pool . . . . . . . . . . . . . . . . . 15
3.5.5. ICE Versions . . . . . . . . . . . . . . . . . . . . 16
3.6. Video Size Negotiation . . . . . . . . . . . . . . . . . 16
3.6.1. Creating an imageattr Attribute . . . . . . . . . . . 16
3.6.2. Interpreting imageattr Attributes . . . . . . . . . . 17
3.7. Simulcast . . . . . . . . . . . . . . . . . . . . . . . . 19
3.8. Interactions With Forking . . . . . . . . . . . . . . . . 20
3.8.1. Sequential Forking . . . . . . . . . . . . . . . . . 20
3.8.2. Parallel Forking . . . . . . . . . . . . . . . . . . 21
4. Interface . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.1. PeerConnection . . . . . . . . . . . . . . . . . . . . . 22
4.1.1. Constructor . . . . . . . . . . . . . . . . . . . . . 22
4.1.2. addTrack . . . . . . . . . . . . . . . . . . . . . . 24
4.1.3. removeTrack . . . . . . . . . . . . . . . . . . . . . 24
4.1.4. addTransceiver . . . . . . . . . . . . . . . . . . . 25
4.1.5. createDataChannel . . . . . . . . . . . . . . . . . . 25
4.1.6. createOffer . . . . . . . . . . . . . . . . . . . . . 25
4.1.7. createAnswer . . . . . . . . . . . . . . . . . . . . 26
Show full document text