I don't find the concept of representing data channel groups using label in spec. can you plese give me the link if you have any?
I can not imagine existance of datachannel with no label, because it is specified as non-nullable and not optional.
------- Original Message -------
Sender : piranna@gmail.com<piranna@gmail.com>
Date : May 21, 2014 16:41 (GMT+09:00)
Title : 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 :
>
> 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>
>
>
--
"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