feat(conference.js): add isConnectionInterrupted getter

pull/922/head
paweldomas 8 years ago
parent ecfc05bcc8
commit 11953cbb60
  1. 10
      conference.js

@ -661,6 +661,16 @@ export default {
return this._room
&& this._room.getConnectionState();
},
/**
* Checks whether or not our connection is currently in interrupted and
* reconnect attempts are in progress.
*
* @returns {boolean} true if the connection is in interrupted state or
* false otherwise.
*/
isConnectionInterrupted () {
return connectionIsInterrupted;
},
getMyUserId () {
return this._room
&& this._room.myUserId();

Loading…
Cancel
Save