Re: [webrtc-pc] Inconsistent setting of receiver.track.readyState violates Mediacapture (#1575)

I'll work on a long-overdue PR here. I think firing `ended` is an exception to https://github.com/w3c/webrtc-pc/issues/565 because the target is different, and we don't want to violate mediacapture/downstream expectations.

Sure, a workaround would be to always remember to do
```js
pc.getTransceivers().forEach(tc => tc.stop());
pc.close();
```
...but that seems like an API bug. `pc.close` already mimics `stop()` wrt its effect on the *other* side.

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

Received on Wednesday, 13 February 2019 15:28:48 UTC