W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > February 2017

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

From: henbos via GitHub <sysbot+gh@w3.org>
Date: Fri, 10 Feb 2017 10:49:34 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-278914055-1486723772-sysbot+gh@w3.org>
Related: I found the 
[RTCPeerConnection::close()](https://rawgit.com/w3c/webrtc-pc/master/webrtc.html#dom-rtcpeerconnection-close)
 steps a bit unclear. It's doing a bunch of things, some which may or 
may not imply firing events, before reaching "_8. Set connection's 
[[isClosed]] slot to true._"

E.g. "_4. Set the state of all RTCIceTransports to closed._" Do you 
fire an RTCIceTransport statechange event or not?

-- 
GitHub Notification of comment by henbos
Please view or discuss this issue at 
https://github.com/w3c/webrtc-pc/issues/1020#issuecomment-278914055 
using your GitHub account
Received on Friday, 10 February 2017 10:49:41 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:40 UTC