Network Working Group R. Jesup
Internet-Draft Mozilla
Intended status: Standards Track S. Loreto
Expires: October 11, 2014 Ericsson
M. Tuexen
Muenster Univ. of Appl. Sciences
April 9, 2014
WebRTC Data Channels
draft-ietf-rtcweb-data-channel-08.txt
Abstract
The Real-Time Communication in WEB-browsers working group is charged
to provide protocol support for direct interactive rich communication
using audio, video, and data between two peers' web-browsers. This
document specifies the non-(S)RTP media data transport aspects of the
WebRTC framework. It provides an architectural overview of how the
Stream Control Transmission Protocol (SCTP) is used in the WebRTC
context as a generic transport service allowing WEB-browsers to
exchange generic data from peer to peer.
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 October 11, 2014.
Copyright Notice
Copyright (c) 2014 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
Jesup, et al. Expires October 11, 2014 [Page 1]Internet-Draft WebRTC Data Channels April 2014
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 . . . . . . . . . . . . . . . . . . . . . . . . 2
2. Conventions . . . . . . . . . . . . . . . . . . . . . . . . . 3
3. Use Cases . . . . . . . . . . . . . . . . . . . . . . . . . . 3
3.1. Use Cases for Unreliable Data Channels . . . . . . . . . 3
3.2. Use Cases for Reliable Data Channels . . . . . . . . . . 4
4. Requirements . . . . . . . . . . . . . . . . . . . . . . . . 4
5. SCTP over DTLS over UDP Considerations . . . . . . . . . . . 5
6. The Usage of SCTP for Data Channels . . . . . . . . . . . . . 8
6.1. SCTP Protocol Considerations . . . . . . . . . . . . . . 8
6.2. Association Setup . . . . . . . . . . . . . . . . . . . . 9
6.3. SCTP Streams . . . . . . . . . . . . . . . . . . . . . . 9
6.4. Channel Definition . . . . . . . . . . . . . . . . . . . 9
6.5. Opening a Channel . . . . . . . . . . . . . . . . . . . . 10
6.6. Transferring User Data on a Channel . . . . . . . . . . . 10
6.7. Closing a Channel . . . . . . . . . . . . . . . . . . . . 11
7. Security Considerations . . . . . . . . . . . . . . . . . . . 11
8. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 11
9. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 12
10. References . . . . . . . . . . . . . . . . . . . . . . . . . 12
10.1. Normative References . . . . . . . . . . . . . . . . . . 12
10.2. Informative References . . . . . . . . . . . . . . . . . 14
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 14
1. Introduction
Non-(S)RTP media data types in the context of WebRTC are handled by
using SCTP [RFC4960] encapsulated in DTLS [RFC6347].
+----------+
| SCTP |
+----------+
| DTLS |
+----------+
| ICE/UDP |
+----------+