The WebSocket Protocol as a Transport for the Message Session Relay Protocol (MSRP)
draft-pd-dispatch-msrp-websocket-07

The information below is for an old version of the document
Document Type Active Internet-Draft (individual)
Last updated 2015-01-26
Stream IETF
Intended RFC status Proposed Standard
Formats plain text pdf html bibtex
Reviews
Stream WG state (None)
Document shepherd Mary Barnes
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
Dispatch Working Group                                        P. Dunkley
Internet-Draft                                              G. Llewellyn
Updates: 4975, 4976 (if approved)                                Acision
Intended status: Standards Track                              V. Pascual
Expires: July 30, 2015                                          A. Roman
                                                                  Quobis
                                                            G. Salgueiro
                                                                   Cisco
                                                        January 26, 2015

  The WebSocket Protocol as a Transport for the Message Session Relay
                            Protocol (MSRP)
                  draft-pd-dispatch-msrp-websocket-07

Abstract

   The WebSocket protocol enables two-way real-time communication
   between clients and servers in situations where direct access to TCP
   and UDP are not available (for example, from within Javascript in a
   web browser).  This document specifies a new WebSocket sub-protocol
   as a reliable transport mechanism between MSRP (Message Session Relay
   Protocol) clients and relays to enable usage of MSRP in new
   scenarios.  This document normatively updates RFC 4975 and RFC 4976.

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 July 30, 2015.

Copyright Notice

   Copyright (c) 2015 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

Dunkley, et al.           Expires July 30, 2015                 [Page 1]
Internet-Draft      WebSocket as a Transport for MSRP       January 2015

   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
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
   2.  Terminology . . . . . . . . . . . . . . . . . . . . . . . . .   4
     2.1.  Definitions . . . . . . . . . . . . . . . . . . . . . . .   4
   3.  WebSocket Protocol Overview . . . . . . . . . . . . . . . . .   4
   4.  The WebSocket MSRP Sub-Protocol . . . . . . . . . . . . . . .   5
     4.1.  Handshake . . . . . . . . . . . . . . . . . . . . . . . .   5
     4.2.  MSRP Encoding . . . . . . . . . . . . . . . . . . . . . .   6
   5.  MSRP WebSocket Transport  . . . . . . . . . . . . . . . . . .   6
     5.1.  General . . . . . . . . . . . . . . . . . . . . . . . . .   6
     5.2.  Updates to RFC 4975 . . . . . . . . . . . . . . . . . . .   6
       5.2.1.  MSRP URI Transport Parameter  . . . . . . . . . . . .   6
       5.2.2.  SDP Transport Protocol  . . . . . . . . . . . . . . .   7
     5.3.  Updates to RFC 4976 . . . . . . . . . . . . . . . . . . .   7
       5.3.1.  AUTH Request Authentication . . . . . . . . . . . . .   7
   6.  Connection Keep-alive . . . . . . . . . . . . . . . . . . . .   7
   7.  Authentication  . . . . . . . . . . . . . . . . . . . . . . .   8
   8.  Examples  . . . . . . . . . . . . . . . . . . . . . . . . . .   9
     8.1.  Authentication  . . . . . . . . . . . . . . . . . . . . .   9
       8.1.1.  WebSocket Authentication  . . . . . . . . . . . . . .   9
       8.1.2.  MSRP Authentication . . . . . . . . . . . . . . . . .  10
     8.2.  Example Session: MSRP WebSocket Client to MSRP Client . .  12
       8.2.1.  SDP Exchange  . . . . . . . . . . . . . . . . . . . .  13
       8.2.2.  SEND (MSRP WebSocket Client to MSRP Client) . . . . .  13
       8.2.3.  SEND (MSRP Client to MSRP WebSocket Client) . . . . .  16
     8.3.  Example Session: Two MSRP WebSocket Clients . . . . . . .  18
       8.3.1.  SDP Exchange  . . . . . . . . . . . . . . . . . . . .  18
       8.3.2.  SEND  . . . . . . . . . . . . . . . . . . . . . . . .  18
     8.4.  Example Session: MSRP WebSocket Client to MSRP Client
           Using a Relay . . . . . . . . . . . . . . . . . . . . . .  21
Show full document text