Javascript Session Establishment Protocol
draft-ietf-rtcweb-jsep-09

 
Document
Type Active Internet-Draft (rtcweb WG)
Last updated 2015-03-09
Replaces draft-uberti-rtcweb-jsep
Stream IETF
Intended RFC status (None)
Formats plain text xml pdf html
Stream
WG state WG Document Sep 2014
Document shepherd Ted Hardie
IESG
IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)

Email authors IPR References Referenced by Nits Search lists

Network Working Group                                          J. Uberti
Internet-Draft                                                    Google
Intended status: Standards Track                             C. Jennings
Expires: September 10, 2015                                        Cisco
                                                        E. Rescorla, Ed.
                                                                 Mozilla
                                                           March 9, 2015

               Javascript Session Establishment Protocol
                       draft-ietf-rtcweb-jsep-09

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 http://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 September 10, 2015.

Copyright Notice

   Copyright (c) 2015 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
   (http://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 September 10, 2015               [Page 1]
Internet-Draft                    JSEP                        March 2015

   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
     1.1.  General Design of JSEP  . . . . . . . . . . . . . . . . .   3
     1.2.  Other Approaches Considered . . . . . . . . . . . . . . .   5
   2.  Terminology . . . . . . . . . . . . . . . . . . . . . . . . .   6
   3.  Semantics and Syntax  . . . . . . . . . . . . . . . . . . . .   6
     3.1.  Signaling Model . . . . . . . . . . . . . . . . . . . . .   6
     3.2.  Session Descriptions and State Machine  . . . . . . . . .   6
     3.3.  Session Description Format  . . . . . . . . . . . . . . .  10
     3.4.  ICE . . . . . . . . . . . . . . . . . . . . . . . . . . .  10
       3.4.1.  ICE Gathering Overview  . . . . . . . . . . . . . . .  10
       3.4.2.  ICE Candidate Trickling . . . . . . . . . . . . . . .  11
         3.4.2.1.  ICE Candidate Format  . . . . . . . . . . . . . .  11
       3.4.3.  ICE Candidate Policy  . . . . . . . . . . . . . . . .  12
       3.4.4.  ICE Candidate Pool  . . . . . . . . . . . . . . . . .  13
     3.5.  Interactions With Forking . . . . . . . . . . . . . . . .  13
       3.5.1.  Sequential Forking  . . . . . . . . . . . . . . . . .  14
       3.5.2.  Parallel Forking  . . . . . . . . . . . . . . . . . .  14
   4.  Interface . . . . . . . . . . . . . . . . . . . . . . . . . .  15
     4.1.  Methods . . . . . . . . . . . . . . . . . . . . . . . . .  15
       4.1.1.  Constructor . . . . . . . . . . . . . . . . . . . . .  15
       4.1.2.  createOffer . . . . . . . . . . . . . . . . . . . . .  17
       4.1.3.  createAnswer  . . . . . . . . . . . . . . . . . . . .  18
       4.1.4.  SessionDescriptionType  . . . . . . . . . . . . . . .  19
         4.1.4.1.  Use of Provisional Answers  . . . . . . . . . . .  20
         4.1.4.2.  Rollback  . . . . . . . . . . . . . . . . . . . .  20
       4.1.5.  setLocalDescription . . . . . . . . . . . . . . . . .  21
       4.1.6.  setRemoteDescription  . . . . . . . . . . . . . . . .  21
       4.1.7.  localDescription  . . . . . . . . . . . . . . . . . .  22
       4.1.8.  remoteDescription . . . . . . . . . . . . . . . . . .  22
       4.1.9.  canTrickleIceCandidates . . . . . . . . . . . . . . .  22
       4.1.10. setConfiguration  . . . . . . . . . . . . . . . . . .  23
       4.1.11. addIceCandidate . . . . . . . . . . . . . . . . . . .  24
   5.  SDP Interaction Procedures  . . . . . . . . . . . . . . . . .  24
Show full document text