[rtcweb] Data channel: JavaScript usage of data channel without the Data Channel Protocol?

Christer Holmberg <christer.holmberg@ericsson.com> Thu, 06 February 2014 11:15 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 5E5AE1A0387 for <rtcweb@ietfa.amsl.com>; Thu, 6 Feb 2014 03:15:13 -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 Pglg-7db6dw9 for <rtcweb@ietfa.amsl.com>; Thu, 6 Feb 2014 03:15:11 -0800 (PST)
Received: from mailgw1.ericsson.se (mailgw1.ericsson.se [193.180.251.45]) by ietfa.amsl.com (Postfix) with ESMTP id E7DFB1A0385 for <rtcweb@ietf.org>; Thu, 6 Feb 2014 03:15:10 -0800 (PST)
X-AuditID: c1b4fb2d-b7f5d8e000002a7b-2f-52f36ebd19b3
Received: from ESESSHC004.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw1.ericsson.se (Symantec Mail Security) with SMTP id 3F.5E.10875.DBE63F25; Thu, 6 Feb 2014 12:15:09 +0100 (CET)
Received: from ESESSMB209.ericsson.se ([169.254.9.99]) by ESESSHC004.ericsson.se ([153.88.183.30]) with mapi id 14.02.0387.000; Thu, 6 Feb 2014 12:15:08 +0100
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: "rtcweb@ietf.org" <rtcweb@ietf.org>
Thread-Topic: Data channel: JavaScript usage of data channel without the Data Channel Protocol?
Thread-Index: Ac8jLH45tofIO7FIT8mB4CIU+axUag==
Date: Thu, 06 Feb 2014 11:15:07 +0000
Message-ID: <7594FB04B1934943A5C02806D1A2204B1D15F1AC@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.146]
Content-Type: multipart/alternative; boundary="_000_7594FB04B1934943A5C02806D1A2204B1D15F1ACESESSMB209erics_"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrGLMWRmVeSWpSXmKPExsUyM+Jvje7evM9BBhOmyFis/dfO7sDosWTJ T6YAxigum5TUnMyy1CJ9uwSujB33VrAXbJSqeLHsPXMDY5t4FyMnh4SAicTaqytYIWwxiQv3 1rN1MXJxCAkcYpSYfnoWO4SziFHi87INjF2MHBxsAhYS3f+0QRpEBNQlLj+8wA5iCwvESOw4 fIUNIp4o8ebSUWYIW09iyswDjCA2i4CKxJQvb8HivAK+Es8WnAWLMwIt/n5qDROIzSwgLnHr yXwmiIMEJJbsOc8MYYtKvHz8D+pQJYkfGy6xQNTnSxy72A41U1Di5MwnLBMYhWYhGTULSdks JGUQcR2JBbs/sUHY2hLLFr5mhrHPHHjMhCy+gJF9FSN7bmJmTnq54SZGYNgf3PJbdwfjqXMi hxilOViUxHk/vHUOEhJITyxJzU5NLUgtii8qzUktPsTIxMEp1cBoPT88jElR/JVBxGuH1xaV Qn13P7rat8vp3VredlOb584q5wBF/Y0NJeIyaqWuW/9zHvYRDjD9wzF7yka1K3OcAnSU3nt7 /+0OY29aVcq1OvZPye+Znw78qfcWf6UXXvdIUSH9Lz/jiR9vgnJ7++Mb3705kP8hTKLl9uv0 I/nt5gklz4M3XlFiKc5INNRiLipOBABc89edSQIAAA==
Subject: [rtcweb] Data channel: JavaScript usage of data channel without the Data Channel Protocol?
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: Thu, 06 Feb 2014 11:15:13 -0000

Hi,

As was indicated earlier, the usage of the Data Channel Protocol (DCP) is optional with the Data Channel.

However, if I understand the API correctly, only the DCP "open"/"ack" messages will trigger a JavaScript "open" event.

If so, how will my JS App be able to use the data channel if I do NOT use the Data Channel Protocol? Can I use it without the "open" event, and/or is there something else that will trigger it?

Regards,

Christer