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

Re: [webrtc-pc] Public accessor for isClosed

From: Soares Chen via GitHub <sysbot+gh@w3.org>
Date: Mon, 12 Jun 2017 10:22:09 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-307749872-1497262928-sysbot+gh@w3.org>
> Why doesn't a signalingState of "closed" work?

It is more of an enhancement request. Since users may check on other states like `iceGatheringState` and make the application code look confusing. 

Alternatively a guideline note can be added to say something like _"To check if a connection is closed, check if `signalingState` is equal `"closed"`"_

-- 
GitHub Notification of comment by soareschen
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1367#issuecomment-307749872 using your GitHub account
Received on Monday, 12 June 2017 10:22:16 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 4 June 2019 15:32:44 UTC