diff --git a/conference.js b/conference.js index f046e0191cda..a31f42f00307 100644 --- a/conference.js +++ b/conference.js @@ -447,12 +447,17 @@ export default { sendFeedback (overallFeedback, detailedFeedback) { return room.sendFeedback (overallFeedback, detailedFeedback); }, - // used by torture currently - isJoined () { + /** + * Checks whether the MUC is joined. + */ + isMucJoined () { return this._room && this._room.isJoined(); }, - getConnectionState () { + /** + * Returns the ICE connection state of the PeerConnection. + */ + getIceConnectionState () { return this._room && this._room.getConnectionState(); },