Re: [webrtc-pc] Is close() supposed to fire state change events? Connection state change set asynchronously? (#1883)

Are you sure? I can't make onsignalingstatechange due to remote pc closing, I wrote a codepen here:
https://codepen.io/henbos/pen/rNVJmNw?editors=1010
See any problem with it?

In any case, if close can happen for asynchronous reason, then the way the spec handles event suggests it would have the event fire for this reason as well. But as it happens, AFAIK any reason other than close() being called that causes close would be non-standard behavior.

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

Received on Wednesday, 11 March 2020 12:32:18 UTC