W3C home > Mailing lists > Public > public-webrtc@w3.org > February 2018

[webrtc-pc] need to clear [[AssociatedMediaStreams]] in removeTrack?

From: Philipp Hancke via GitHub <sysbot+gh@w3.org>
Date: Thu, 01 Feb 2018 08:27:48 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-293442496-1517473666-sysbot+gh@w3.org>
fippo has just created a new issue for https://github.com/w3c/webrtc-pc:

== need to clear [[AssociatedMediaStreams]] in removeTrack? ==
[addTrack](http://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-addtrack) adds to the [[AssociatedMediaStreams]] but [removeTrack](http://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-removetrack) does not set them to an empty list.

Should it? This came up in [in firefox](https://bugzilla.mozilla.org/show_bug.cgi?id=1427162) but even ignoring getLocalStreams() legacy one doesn't want to keep a reference to the streams anymore.

cc @henbos too

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1756 using your GitHub account
Received on Thursday, 1 February 2018 08:28:20 UTC

This archive was generated by hypermail 2.3.1 : Sunday, 4 February 2018 20:35:53 UTC