- From: Iñaki Baz Castillo via GitHub <sysbot+gh@w3.org>
- Date: Mon, 26 Nov 2018 20:42:08 +0000
- To: public-webrtc-logs@w3.org
I'll explain the "issue" in a different way: * `pc.addTrack(track)` creates (or may create) a `RTCRtpSender`. * `pc.removeTrack(sender)` is a bit... well, idiomatically strange. If `addTrack()` creates a `RTCRtpSender`, one may expect that `removeTrack()` removes a `RTCRtpSender`. Now let's do this: * `const sender1 = pc.addTrack(track1)` * `sender1.setParameters(params1)` * `pc.removeTrack(track1)` * `const sender2 = pc.addTrack(track2)` ...and it happens that `sender2` keeps the same `params1` as before. Yes, we know that `sender1` and `sender2` are (or may be) the same `RTCRtpSender` object. And we know it BECAUSE THE TRANSCEIVERS, but it sounds strange anyway... -- GitHub Notification of comment by ibc Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2025#issuecomment-441790517 using your GitHub account
Received on Monday, 26 November 2018 20:42:09 UTC