feat(conference.js): add isConnectionInterrupted getter
This commit is contained in:
parent
ecfc05bcc8
commit
11953cbb60
|
@ -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…
Reference in New Issue