Adds utility methods used by torture.
This commit is contained in:
parent
a56d462dae
commit
1702105b06
14
app.js
14
app.js
|
@ -120,6 +120,20 @@ const APP = {
|
|||
},
|
||||
toggleVideoMuted () {
|
||||
this.muteVideo(!this.videoMuted);
|
||||
},
|
||||
|
||||
// used by torture currently
|
||||
isJoined () {
|
||||
return APP.conference._room
|
||||
&& APP.conference._room.isJoined();
|
||||
},
|
||||
getConnectionState () {
|
||||
return APP.conference._room
|
||||
&& APP.conference._room.getConnectionState();
|
||||
},
|
||||
getMyUserId () {
|
||||
return APP.conference._room
|
||||
&& APP.conference._room.myUserId();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue