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

Re: Improvements suggestion for DataChannels

From: Adam Bergkvist <adam.bergkvist@ericsson.com>
Date: Tue, 4 Mar 2014 10:21:20 +0100
Message-ID: <53159B10.30906@ericsson.com>
To: "piranna@gmail.com" <piranna@gmail.com>
CC: Randell Jesup <randell-ietf@jesup.org>, public-webrtc <public-webrtc@w3.org>
On 2014-03-04 10:09, piranna@gmail.com wrote:
> I think is implicit the DataChannel should be removed from the
> PeerConnection list inconditionally when it gets closed, so the list is
> only of currently active, open DataChannel objects. Later, on a side
> note, if someone get a reference to a DataChannel object both from
> calling createDataChannel() or from the list, it will be GC when it gets
> closed and all references disappear... At least it's the most logical
> behaviour (and the one I was proposing, sorry if there was some
> misunderstands).

I think that would work, except the part where all references disappear. 
:) You can have a lot of references to closed channels.

/Adam
Received on Tuesday, 4 March 2014 09:21:47 UTC

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