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

On 21 May 2014, at 13:48, Kiran Kumar Guduru <kiran.guduru@samsung.com> wrote:

> yes, it is specified that Id should be unique and throwing error in case of duplicats.
> Here the question is can we have two data channels with same label at the same peer say peer-A? (unlike label glare where two peers A, B may have datachannels with same label).
No, label glare means the A sets up a data channel with B using label l, and
B sets up a data channel with A using the same label l. This means A has two
data channels with B using the same label l.

Best regards
Michael
>  
>  
> ------- Original Message -------
> Sender : Michael Tuexen<Michael.Tuexen@lurchi.franken.de>
> Date : May 21, 2014 06:53 (GMT+09:00)
> Title : Re: [Bug 25840] New: Creating DataChannel with same label.
>  
> 
> On 20 May 2014, at 23:39, Kiran Kumar Guduru 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
> > 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>
> 
>  
>  
>  
> <201405211718203_QKNMBDIF.gif>

Received on Wednesday, 21 May 2014 11:52:13 UTC