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

Re: Improvements suggestion for DataChannels

From: Martin Thomson <martin.thomson@gmail.com>
Date: Tue, 4 Mar 2014 09:07:12 +0000
Message-ID: <CABkgnnVJY76DMecfTmGcZZWZwrgB9iTPjE0=accthMSM17nFqg@mail.gmail.com>
To: Adam Bergkvist <adam.bergkvist@ericsson.com>
Cc: Randell Jesup <randell-ietf@jesup.org>, "public-webrtc@w3.org" <public-webrtc@w3.org>
On 4 March 2014 08:57, Adam Bergkvist <adam.bergkvist@ericsson.com> wrote:
> I agree that what you describe is totally normal. The thing I was referring
> to was the conditional side effect of close(). That the channel should be
> removed from the PeerConnection's channel list if it was never accessed via
> that list, otherwise not. That may have been a misunderstanding from my side
> btw.

I don't think that this needs to be conditional in that way.  You can
break the links, or not, but there is no need to do so conditionally.
I am perfectly happy with the behaviour regarding these collections
after close() to be undefined in spec.

On the one hand, you can just close the connection and render it
impotent.  Channels already created would still be accessible, but

On the other hand, you could also flush the collection to prevent
later access to channels (of those that the application doesn't
already have a saved reference).

Seems like unimportant detail to me.
Received on Tuesday, 4 March 2014 09:07:39 UTC

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