Uses more meaningful names.

This commit is contained in:
Boris Grozev 2016-04-26 11:50:30 -05:00
parent 7bb20bb967
commit 4f59dbae65
1 changed files with 8 additions and 3 deletions

View File

@ -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();
},