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

No, replaceTrack [by design](http://w3c.github.io/webrtc-pc/#dom-rtcrtpsender-replacetrack)ยน never affects SDP, and never fires ONN. `sender.direction` does.

<sub>1. *"To avoid track identifiers changing on the remote receiving end when a track is replaced, the sender MUST retain the original track identifier and stream associations and use these in subsequent negotiations."*</sub>

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1756#issuecomment-362765417 using your GitHub account

Received on Saturday, 3 February 2018 02:03:45 UTC