W3C home > Mailing lists > Public > public-webrtc@w3.org > May 2014

Re: [Bug 25840] New: Creating DataChannel with same label.

From: Michael Tuexen <Michael.Tuexen@lurchi.franken.de>
Date: Tue, 20 May 2014 23:53:45 +0200
Cc: "public-webrtc@w3.org" <public-webrtc@w3.org>
Message-Id: <47F097F0-3C02-4728-87D7-016A90E28A18@lurchi.franken.de>
To: kiran.guduru@samsung.com

On 20 May 2014, at 23:39, Kiran Kumar Guduru <kiran.guduru@samsung.com> wrote:

> In WebRTC spec it is specified that label attribute is used to distinguish the channel from other channels, means, it should be unique.
>  
> "The RTCDataChannel.label attribute represents a label that can be used to distinguish this RTCDataChannel object from other RTCDataChannel objects"
Don't we have the id for it?

Please note that
http://tools.ietf.org/html/draft-ietf-rtcweb-data-protocol-05
does not avoid label glare. It explicitly says:

   Note: There is no attempt to resolve label glare; if both sides open
   a Channel labeled "x" at the same time, there will be two Channels
   labeled "x" - one on an even Stream pair, one on an odd pair.

Best regards
Michael
>  
> ------- Original Message -------
> Sender : Michael Tuexen<Michael.Tuexen@lurchi.franken.de>
> Date : May 21, 2014 06:30 (GMT+09:00)
> Title : Re: [Bug 25840] New: Creating DataChannel with same label.
>  
> On 20 May 2014, at 23:21, bugzilla@jessica.w3.org wrote:
> 
> > https://www.w3.org/Bugs/Public/show_bug.cgi?id=25840
> > 
> >            Bug ID: 25840
> >           Summary: Creating DataChannel with same label.
> >           Product: WebRTC Working Group
> >           Version: unspecified
> >          Hardware: All
> >                OS: All
> >            Status: NEW
> >          Severity: normal
> >          Priority: P2
> >         Component: WebRTC API
> >          Assignee: public-webrtc@w3.org
> >          Reporter: kiran.guduru@samsung.com
> >                CC: public-webrtc@w3.org
> > 
> > This check is missing.
> > 
> > Proposed Resolution
> > •Fire a ResourceInUseError.
> Isn't it allowed to have multiple data channels with the same label?
> > 
> > -- 
> > You are receiving this mail because:
> > You are on the CC list for the bug.
> > You are the assignee for the bug.
> > 
> 
> 
>  
>  
>  
> <201405210310203_QKNMBDIF.gif>
Received on Tuesday, 20 May 2014 21:54:12 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:40 UTC