W3C home > Mailing lists > Public > public-webrtc-logs@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:47 +0000
To: public-webrtc-logs@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:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:22:00 UTC