[rtcweb] RTCWEB data channel protocol: Do both endpoints need to send DATA_CHANNEL_OPEN?

Christer Holmberg <christer.holmberg@ericsson.com> Tue, 28 January 2014 08:16 UTC

Return-Path: <christer.holmberg@ericsson.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D90331A0271 for <rtcweb@ietfa.amsl.com>; Tue, 28 Jan 2014 00:16:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.85
X-Spam-Level:
X-Spam-Status: No, score=-3.85 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_SE=0.35, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RksVCEXuJjKw for <rtcweb@ietfa.amsl.com>; Tue, 28 Jan 2014 00:16:27 -0800 (PST)
Received: from mailgw1.ericsson.se (mailgw1.ericsson.se [193.180.251.45]) by ietfa.amsl.com (Postfix) with ESMTP id A47C11A025B for <rtcweb@ietf.org>; Tue, 28 Jan 2014 00:16:26 -0800 (PST)
X-AuditID: c1b4fb2d-b7f5d8e000002a7b-a6-52e76757d576
Received: from ESESSHC015.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw1.ericsson.se (Symantec Mail Security) with SMTP id 59.C1.10875.75767E25; Tue, 28 Jan 2014 09:16:23 +0100 (CET)
Received: from ESESSMB209.ericsson.se ([169.254.9.99]) by ESESSHC015.ericsson.se ([153.88.183.63]) with mapi id 14.02.0387.000; Tue, 28 Jan 2014 09:16:22 +0100
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: "rtcweb@ietf.org" <rtcweb@ietf.org>
Thread-Topic: RTCWEB data channel protocol: Do both endpoints need to send DATA_CHANNEL_OPEN?
Thread-Index: Ac8cATohOVAlbIwKQYO2t8QqB7DbKg==
Date: Tue, 28 Jan 2014 08:16:22 +0000
Message-ID: <7594FB04B1934943A5C02806D1A2204B1D142F0D@ESESSMB209.ericsson.se>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.17]
Content-Type: multipart/alternative; boundary="_000_7594FB04B1934943A5C02806D1A2204B1D142F0DESESSMB209erics_"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrKLMWRmVeSWpSXmKPExsUyM+JvjW54+vMgg/9L1S3W/mtnd2D0WLLk J1MAYxSXTUpqTmZZapG+XQJXxrVVt5gK7stVLDp1nbmB8ZNUFyMnh4SAicT//XeZIWwxiQv3 1rN1MXJxCAkcYpRYd2o7C4SzmFHi+vytTF2MHBxsAhYS3f+0QRpEBNQlLj+8wA5iCwtESXy+ fJwJIh4vcbKhlQ3C1pNY338LrIZFQFXi3/IJrCA2r4CvxNdJ88HqGYEWfz+1BsxmFhCXuPUE Ii4hICCxZM95qONEJV4+/scKcoKEgKLE8n45iPJ8iX2X7kGNFJQ4OfMJywRGoVlIJs1CUjYL SRlEXEdiwe5PbBC2tsSyha+ZYewzBx4zIYsvYGRfxciem5iZk15uuIkRGPQHt/zW3cF46pzI IUZpDhYlcd4Pb52DhATSE0tSs1NTC1KL4otKc1KLDzEycXBKNTAyV7SsVlj849imKObFWxUn r6h6Ljdt0xLzS1t3sInO9vr5acvSuFsFM6L47728Jvgli11U0eZl/qaZgSvKbeeXhl09uG/W ibWtwd9kfbfoOO9juKAaG1Aq0XLwy4swp9l1fkL9N/hEdTof7ll/ma1J7XpOV0BBv+2L5bq+ P8TtHJwOCs2ynZuixFKckWioxVxUnAgAbVDVQUgCAAA=
Subject: [rtcweb] RTCWEB data channel protocol: Do both endpoints need to send DATA_CHANNEL_OPEN?
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb/>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 28 Jan 2014 08:16:29 -0000

Hi,

As defined in draft-ietf-rtcweb-data-channel-06, a data channel consists of two unidirectional SCTP streams.

draft-ietf-rtcweb-data-protocol-01 says that, if one endpoint wants to open a data channel, it sends a DATA_CHANNEL_OPEN (using a SCTP stream ID value of its choice). Then, the other endpoints sends DATA_CHANNEL_ACK on the same SCTP stream (eventhough it is a unidirectional stream).

Q1: Assuming that both endpoints want to use the data channel, do both endpoints need to send DATA_CHANNEL_OPEN (on separate SCTP streams)? Or, can one of the endpoints, if it has received DCO, start using the data channel (using a SCTP stream of its choice)?

Regards,

Christer