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

AFAIK the only unique ID is the .id attribute, but you can have
several DataChannels with the same label to identify them as a group,
or with no label at all.

This bring me to my head, maybe in the future this can be changed to
allow to have several labels on a single DataChannel, in a similar way
to how CSS classes are defined in DOM... :-)

2014-05-20 23:53 GMT+02:00 Michael Tuexen <Michael.Tuexen@lurchi.franken.de>:
>
> 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>
>
>



-- 
"Si quieres viajar alrededor del mundo y ser invitado a hablar en un
monton de sitios diferentes, simplemente escribe un sistema operativo
Unix."
– Linus Tordvals, creador del sistema operativo Linux

Received on Wednesday, 21 May 2014 07:42:03 UTC