feat(iframe_api): Implement readyToClose event and hangup command

This commit is contained in:
hristoterezov
2016-10-05 16:33:09 -05:00
parent 924bb3c7f7
commit 47d39ed5ca
5 changed files with 71 additions and 71 deletions
+6 -2
View File
@@ -33,7 +33,8 @@ var commands = {
"toggleFilmStrip": "toggle-film-strip",
"toggleChat": "toggle-chat",
"toggleContactList": "toggle-contact-list",
"toggleShareScreen": "toggle-share-screen"
"toggleShareScreen": "toggle-share-screen",
"hangup": "video-hangup"
};
/**
@@ -47,7 +48,8 @@ var events = {
"participantJoined": "participant-joined",
"participantLeft": "participant-left",
"videoConferenceJoined": "video-conference-joined",
"videoConferenceLeft": "video-conference-left"
"videoConferenceLeft": "video-conference-left",
"readyToClose": "video-ready-to-close"
};
/**
@@ -246,6 +248,8 @@ JitsiMeetExternalAPI.prototype.executeCommands = function(object) {
* {{
* roomName: room //the room name of the conference
* }}
* readyToClose - all hangup operations are completed and Jitsi Meet is ready
* to be disposed.
* @param object
*/
JitsiMeetExternalAPI.prototype.addEventListeners = function(object) {