- From: Taylor Brandstetter via GitHub <sysbot+gh@w3.org>
- Date: Wed, 21 Feb 2018 19:27:09 +0000
- To: public-webrtc-logs@w3.org
> Why should the stream association be tied to the (local) transceiver? Because there's a 1:1 mapping between local transceiver and remote track. That's just how the transceiver/receiver/track object model ended up, to support early media and replacing tracks. > If you let removeTrack() remove the track and clear the streams list, you let addTrack/removeTrack-based applications continue to behave consistently That will happen without clearing `[[AssociatedMediaStreams]]`, because the track will be removed from the stream on the *remote* side after SDP exchange. And a subsequent `addTrack` will use a new m= section, so it can be part of a different stream. So I don't see any problem that clearing `[[AssociatedMediaStreams]]` would solve. It would just render a transceiver permanently stream-less. -- GitHub Notification of comment by taylor-b Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1756#issuecomment-367441697 using your GitHub account
Received on Wednesday, 21 February 2018 19:27:14 UTC