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

"Chenxin (Xin)" <hangzhou.chenxin@huawei.com> Tue, 28 January 2014 09:06 UTC

Return-Path: <hangzhou.chenxin@huawei.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 A0C691A035D for <rtcweb@ietfa.amsl.com>; Tue, 28 Jan 2014 01:06:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.736
X-Spam-Level:
X-Spam-Status: No, score=-4.736 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.535, 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 yiT5nZSkJ-eB for <rtcweb@ietfa.amsl.com>; Tue, 28 Jan 2014 01:06:47 -0800 (PST)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) by ietfa.amsl.com (Postfix) with ESMTP id CB9B21A02D9 for <rtcweb@ietf.org>; Tue, 28 Jan 2014 01:06:46 -0800 (PST)
Received: from 172.18.7.190 (EHLO lhreml203-edg.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BAN14236; Tue, 28 Jan 2014 09:06:43 +0000 (GMT)
Received: from LHREML405-HUB.china.huawei.com (10.201.5.242) by lhreml203-edg.huawei.com (172.18.7.221) with Microsoft SMTP Server (TLS) id 14.3.158.1; Tue, 28 Jan 2014 09:06:06 +0000
Received: from SZXEMA403-HUB.china.huawei.com (10.82.72.35) by lhreml405-hub.china.huawei.com (10.201.5.242) with Microsoft SMTP Server (TLS) id 14.3.158.1; Tue, 28 Jan 2014 09:06:36 +0000
Received: from SZXEMA504-MBX.china.huawei.com ([169.254.7.191]) by SZXEMA403-HUB.china.huawei.com ([10.82.72.35]) with mapi id 14.03.0158.001; Tue, 28 Jan 2014 17:06:29 +0800
From: "Chenxin (Xin)" <hangzhou.chenxin@huawei.com>
To: Salvatore Loreto <salvatore.loreto@ericsson.com>, Christer Holmberg <christer.holmberg@ericsson.com>
Thread-Topic: [rtcweb] RTCWEB data channel protocol: Do both endpoints need to send DATA_CHANNEL_OPEN?
Thread-Index: Ac8cATohOVAlbIwKQYO2t8QqB7DbKv//80KA///u5jCAABV0AP//7Huw
Date: Tue, 28 Jan 2014 09:06:27 +0000
Message-ID: <9E34D50A21D1D1489134B4D770CE0397680AB034@SZXEMA504-MBX.china.huawei.com>
References: <7594FB04B1934943A5C02806D1A2204B1D142F0D@ESESSMB209.ericsson.se> <A21E0980-2F38-4156-AE03-8C5D80FE74F0@ericsson.com> <7594FB04B1934943A5C02806D1A2204B1D144004@ESESSMB209.ericsson.se> <4B7CB104-BD52-4392-A0B5-4F5C187AA001@ericsson.com>
In-Reply-To: <4B7CB104-BD52-4392-A0B5-4F5C187AA001@ericsson.com>
Accept-Language: en-US, zh-CN
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.173.17.195]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [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 09:06:48 -0000

Hi Salvatore
>>
>> I also think it would be good to add some call flows to the draft.
>>
>>>> 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)?
>>>
>>> sorry I don't understand the question.
>>> Are you asking for both endpoints trying to open the same channel and how
>avoid glare in opening channels
>>> or you are looking in the scenario where both endpoints want to open to
>different channels?
>>
>> I am not talking about a glare situation.
>>
>> I am talking about where an endpoint has received a DCO, and replied with a
>DCA. Then, that endpoint also wants to use the data channel.
>
>well a DataChannel is bidirectional then it can be used to send data from both
>the sides once it is open.
>
>
>> Does it also have to send a DCO? I assume not, but I think it would be good to
>make that more clear.
>
>you are right, it has not to do.
>OK point taken, we will clarify this point also.
>
Do you means when has the DC been negotiated by out-band way?

Best Reagrds,
   Xin
>br
>Salvatore
>
>
>>
>> Regards,
>>
>> Christer
>>
>
>_______________________________________________
>rtcweb mailing list
>rtcweb@ietf.org
>https://www.ietf.org/mailman/listinfo/rtcweb