Re: [webrtc-pc] Don't fire events on a closed peer connection

> "4. Set the state of all RTCIceTransports to closed." Do you fire an
 RTCIceTransport statechange event or not?

@henbos Event firing is explicit, so no. The above merely sets the 
state.

`pc.close()` is always user-invoked now, and by design we don't fire 
events on user-invoked actions.

Unless some of the algorithms invoked include steps to fire events, 
then no events are fired. If you find one that fires an event, then 
that's probably a bug, as I'm pretty sure our design intent is to not 
cause events on close.

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

Received on Tuesday, 14 February 2017 02:36:15 UTC