2015-01-19 09:20:00 +00:00
|
|
|
var XMPPEvents = {
|
2015-04-22 14:14:16 +00:00
|
|
|
CONNECTION_FAILED: "xmpp.connection.failed",
|
2015-04-08 10:30:10 +00:00
|
|
|
CONFERENCE_CREATED: "xmpp.conferenceCreated.jingle",
|
2015-01-19 09:20:00 +00:00
|
|
|
CALL_INCOMING: "xmpp.callincoming.jingle",
|
2015-04-08 10:30:10 +00:00
|
|
|
DISPOSE_CONFERENCE: "xmpp.dispose_conference",
|
2015-02-25 15:54:17 +00:00
|
|
|
GRACEFUL_SHUTDOWN: "xmpp.graceful_shutdown",
|
2015-01-19 09:20:00 +00:00
|
|
|
KICKED: "xmpp.kicked",
|
|
|
|
BRIDGE_DOWN: "xmpp.bridge_down",
|
|
|
|
USER_ID_CHANGED: "xmpp.user_id_changed",
|
2015-04-08 10:30:10 +00:00
|
|
|
// We joined the MUC
|
2015-01-19 09:20:00 +00:00
|
|
|
MUC_JOINED: "xmpp.muc_joined",
|
2015-04-08 10:30:10 +00:00
|
|
|
// A member joined the MUC
|
|
|
|
MUC_MEMBER_JOINED: "xmpp.muc_member_joined",
|
|
|
|
// A member left the MUC
|
|
|
|
MUC_MEMBER_LEFT: "xmpp.muc_member_left",
|
2015-01-23 15:36:17 +00:00
|
|
|
MUC_ROLE_CHANGED: "xmpp.muc_role_changed",
|
2015-02-23 15:10:12 +00:00
|
|
|
MUC_DESTROYED: "xmpp.muc_destroyed",
|
2015-01-19 09:20:00 +00:00
|
|
|
DISPLAY_NAME_CHANGED: "xmpp.display_name_changed",
|
2015-01-23 15:36:17 +00:00
|
|
|
REMOTE_STATS: "xmpp.remote_stats",
|
2015-04-08 10:30:10 +00:00
|
|
|
LOCAL_ROLE_CHANGED: "xmpp.localrole_changed",
|
2015-01-23 15:36:17 +00:00
|
|
|
PRESENCE_STATUS: "xmpp.presence_status",
|
2015-02-26 13:56:24 +00:00
|
|
|
RESERVATION_ERROR: "xmpp.room_reservation_error",
|
2015-01-23 15:36:17 +00:00
|
|
|
SUBJECT_CHANGED: "xmpp.subject_changed",
|
|
|
|
MESSAGE_RECEIVED: "xmpp.message_received",
|
2015-01-24 14:28:02 +00:00
|
|
|
SENDING_CHAT_MESSAGE: "xmpp.sending_chat_message",
|
2015-01-23 15:36:17 +00:00
|
|
|
PASSWORD_REQUIRED: "xmpp.password_required",
|
2015-01-27 09:56:22 +00:00
|
|
|
AUTHENTICATION_REQUIRED: "xmpp.authentication_required",
|
2015-01-23 15:36:17 +00:00
|
|
|
CHAT_ERROR_RECEIVED: "xmpp.chat_error_received",
|
2015-03-27 09:36:39 +00:00
|
|
|
ETHERPAD: "xmpp.etherpad",
|
2015-05-19 15:03:01 +00:00
|
|
|
DEVICE_AVAILABLE: "xmpp.device_available",
|
2015-06-26 12:32:40 +00:00
|
|
|
PEERCONNECTION_READY: "xmpp.peerconnection_ready",
|
2015-06-29 14:24:21 +00:00
|
|
|
CONFERENCE_SETUP_FAILED: "xmpp.conference_setup_failed",
|
|
|
|
AUDIO_MUTED: "xmpp.audio_muted",
|
2015-06-18 17:49:43 +00:00
|
|
|
VIDEO_MUTED: "xmpp.video_muted",
|
|
|
|
AUDIO_MUTED_BY_FOCUS: "xmpp.audio_muted_by_focus",
|
|
|
|
START_MUTED_SETTING_CHANGED: "xmpp.start_muted_setting_changed",
|
|
|
|
START_MUTED_FROM_FOCUS: "xmpp.start_muted_from_focus",
|
|
|
|
SET_LOCAL_DESCRIPTION_ERROR: 'xmpp.set_local_description_error',
|
|
|
|
SET_REMOTE_DESCRIPTION_ERROR: 'xmpp.set_remote_description_error',
|
|
|
|
CREATE_ANSWER_ERROR: 'xmpp.create_answer_error',
|
|
|
|
JINGLE_FATAL_ERROR: 'xmpp.jingle_fatal_error',
|
|
|
|
PROMPT_FOR_LOGIN: 'xmpp.prompt_for_login',
|
|
|
|
FOCUS_DISCONNECTED: 'xmpp.focus_disconnected',
|
|
|
|
ROOM_JOIN_ERROR: 'xmpp.room_join_error',
|
|
|
|
ROOM_CONNECT_ERROR: 'xmpp.room_connect_error',
|
|
|
|
// xmpp is connected and obtained user media
|
|
|
|
READY_TO_JOIN: 'xmpp.ready_to_join'
|
2015-01-19 09:20:00 +00:00
|
|
|
};
|
2015-01-28 14:35:22 +00:00
|
|
|
module.exports = XMPPEvents;
|